/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_test.h | 75 #define rdtsc() __rdtsc() macro 80 rdtsc(void) function 83 __asm__ __volatile__ ("rdtsc" : "=a"(lo), "=d"(hi)); 89 #define rdtsc() 0 macro
|
/external/autotest/client/tests/iosched_bugs/src/ |
dirty.c | 14 rdtsc(void) function 18 __asm __volatile("rdtsc" : "=A" (tsc)); 48 s = rdtsc(); 51 e = rdtsc();
|
/external/linux-kselftest/tools/testing/selftests/prctl/ |
disable-tsc-ctxt-sw-stress-test.c | 31 static uint64_t rdtsc(void) function 35 __asm__ __volatile__ ("rdtsc" : "=a" (lo), "=d" (hi)); 53 rdtsc(); 54 fprintf(stderr, "FATAL ERROR, rdtsc() succeeded while disabled\n"); 61 fprintf(stderr, "FATAL ERROR, rdtsc() failed while enabled\n"); 74 for(;;) rdtsc();
|
disable-tsc-on-off-stress-test.c | 33 static uint64_t rdtsc(void) function 37 __asm__ __volatile__ ("rdtsc" : "=a" (lo), "=d" (hi)); 47 fprintf(stderr, "FATAL ERROR, rdtsc() failed while enabled\n"); 57 rdtsc(); 66 rdtsc(); 69 fprintf(stderr, "FATAL ERROR, rdtsc() succeeded while disabled\n");
|
disable-tsc-test.c | 33 static uint64_t rdtsc(void) function 37 __asm__ __volatile__ ("rdtsc" : "=a" (lo), "=d" (hi)); 58 printf("rdtsc() == "); 67 printf("rdtsc() == %llu\n", (unsigned long long)rdtsc()); 75 printf("rdtsc() == %llu\n", (unsigned long long)rdtsc()); 82 printf("rdtsc() == %llu\n", (unsigned long long)rdtsc()); 89 printf("rdtsc() == ") [all...] |
/external/syslinux/com32/include/sys/i386/ |
cpu.h | 3 static inline uint64_t rdtsc(void) function 6 asm volatile("rdtsc" : "=A" (v)); 13 asm volatile("rdtsc" : "=a" (v) : : "edx");
|
/external/syslinux/gpxe/src/include/gpxe/ |
profile.h | 20 /** Registers returned by rdtsc. 27 } rdtsc; member in union:profiler 56 __asm__ __volatile__ ( "rdtsc" : 57 "=a" ( profiler->rdtsc.eax ), 58 "=d" ( profiler->rdtsc.edx ) );
|
/external/syslinux/com32/include/sys/x86_64/ |
cpu.h | 6 static inline uint64_t rdtsc(void) function 9 asm volatile("rdtsc" : "=A" (v)); 16 asm volatile("rdtsc" : "=a" (v) : : "edx");
|
/external/autotest/client/tests/monotonic_time/src/ |
time_test.c | 76 static inline uint64_t rdtsc(void) function 79 __asm__ __volatile__("rdtsc" : "=a" (tsc_lo), "=d" (tsc_hi)); 83 static inline uint64_t rdtsc(void) function 86 __asm__ __volatile__("rdtsc" : "=A" (tsc)); 90 #error "rdtsc() not implemented for this architecture" 97 return rdtsc(); 104 return rdtsc();
|
/external/autotest/client/tests/tsc/src/ |
checktsc.c | 147 static inline uint64_t rdtsc(void) function 151 __asm__ __volatile__("rdtsc" : "=a" (tsc_lo), "=d" (tsc_hi)); 156 static inline uint64_t rdtsc(void) function 160 __asm__ __volatile__("rdtsc" : "=A" (tsc)); 216 t0 = rdtsc(); 219 t1 = rdtsc(); 266 slave_tsc = rdtsc();
|
/external/swiftshader/src/Reactor/ |
LLVMReactor.cpp | 5968 llvm::Function *rdtsc = llvm::Intrinsic::getDeclaration(::module, llvm::Intrinsic::readcyclecounter); local [all...] |