Searched defs:rdtsc (Results 1 - 12 of 12) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test.h75 #define rdtsc() __rdtsc() macro
80 rdtsc(void) function
83 __asm__ __volatile__ ("rdtsc" : "=a"(lo), "=d"(hi));
89 #define rdtsc() 0 macro
/external/syslinux/gpxe/src/arch/i386/include/gpxe/
H A Drdtsc_timer.h30 TIMER_INLINE ( rdtsc, currticks ) ( void ) { argument
33 __asm__ __volatile__ ( "rdtsc\n\t"
/external/autotest/client/tests/iosched_bugs/src/
H A Ddirty.c14 rdtsc(void) function
18 __asm __volatile("rdtsc" : "=A" (tsc));
48 s = rdtsc();
51 e = rdtsc();
/external/linux-kselftest/tools/testing/selftests/prctl/
H A Ddisable-tsc-ctxt-sw-stress-test.c31 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();
H A Ddisable-tsc-on-off-stress-test.c33 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");
H A Ddisable-tsc-test.c33 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/gpxe/src/include/gpxe/
H A Dprofile.h20 /** 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/i386/
H A Dcpu.h3 static inline uint64_t rdtsc(void) function
6 asm volatile("rdtsc" : "=A" (v));
13 asm volatile("rdtsc" : "=a" (v) : : "edx");
/external/syslinux/com32/include/sys/x86_64/
H A Dcpu.h6 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/
H A Dtime_test.c76 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/
H A Dchecktsc.c147 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/
H A DLLVMReactor.cpp5968 llvm::Function *rdtsc = llvm::Intrinsic::getDeclaration(::module, llvm::Intrinsic::readcyclecounter); local
5970 return RValue<Long>(V(::builder->CreateCall(rdtsc)));

Completed in 491 milliseconds