Home
last modified time | relevance | path

Searched refs:rdtsc (Results 1 – 25 of 71) sorted by relevance

123

/external/linux-kselftest/tools/testing/selftests/prctl/
Ddisable-tsc-test.c33 static uint64_t rdtsc(void) in rdtsc() function
67 printf("rdtsc() == %llu\n", (unsigned long long)rdtsc()); in main()
75 printf("rdtsc() == %llu\n", (unsigned long long)rdtsc()); in main()
82 printf("rdtsc() == %llu\n", (unsigned long long)rdtsc()); in main()
91 printf("%llu\n", (unsigned long long)rdtsc()); in main()
Ddisable-tsc-on-off-stress-test.c33 static uint64_t rdtsc(void) in rdtsc() function
57 rdtsc(); in sigsegv_cb()
66 rdtsc(); in task()
Ddisable-tsc-ctxt-sw-stress-test.c31 static uint64_t rdtsc(void) in rdtsc() function
53 rdtsc(); in segvtask()
74 for(;;) rdtsc(); in rdtsctask()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Drdtsc.ll11 ; X86-NEXT: rdtsc
16 ; X64-NEXT: rdtsc
30 ; X86-NEXT: rdtsc
35 ; X64-NEXT: rdtsc
39 %1 = tail call i64 @llvm.x86.rdtsc()
69 declare i64 @llvm.x86.rdtsc()
D2006-07-10-InlineAsmAConstraint.ll5 %tmp.i5 = call i64 asm sideeffect "rdtsc", "=A,~{dirflag},~{fpsr},~{flags}"( ) ; <i64> [#uses=1]
/external/u-boot/drivers/timer/
Dtsc_timer.c190 tsc = rdtsc(); in pit_expect_msb()
192 *deltap = rdtsc() - prev_tsc; in pit_expect_msb()
337 u64 now_tick = rdtsc(); in tsc_timer_get_count()
348 gd->arch.tsc_base = rdtsc(); in tsc_timer_ensure_setup()
384 gd->arch.tsc_base = rdtsc(); in tsc_timer_probe()
404 return rdtsc() - gd->arch.tsc_base; in timer_early_get_count()
/external/llvm/test/CodeGen/X86/
Drdtsc.ll12 ; CHECK: rdtsc
23 %1 = tail call i64 @llvm.x86.rdtsc()
27 ; CHECK: rdtsc
48 declare i64 @llvm.x86.rdtsc()
D2006-07-10-InlineAsmAConstraint.ll5 %tmp.i5 = call i64 asm sideeffect "rdtsc", "=A,~{dirflag},~{fpsr},~{flags}"( ) ; <i64> [#uses=1]
/external/autotest/client/tests/iosched_bugs/src/
Ddirty.c14 rdtsc(void) in rdtsc() function
48 s = rdtsc(); in main()
51 e = rdtsc(); in main()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test.h75 #define rdtsc() __rdtsc() macro
80 rdtsc(void) in rdtsc() function
89 #define rdtsc() 0 macro
/external/autotest/client/tests/tsc/src/
Dchecktsc.c147 static inline uint64_t rdtsc(void) in rdtsc() function
156 static inline uint64_t rdtsc(void) in rdtsc() function
216 t0 = rdtsc(); in tsc_delta()
219 t1 = rdtsc(); in tsc_delta()
266 slave_tsc = rdtsc(); in slave_thread()
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Dvmx_tsc_adjust_test.c76 uint64_t l1_tsc = rdtsc() - TSC_OFFSET_VALUE; in l2_guest_code()
92 GUEST_ASSERT(rdtsc() < TSC_ADJUST_VALUE); in l1_guest_code()
93 wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE); in l1_guest_code()
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
Drdtsc.ll1 ; RUN: llc < %s -march=x86 | grep rdtsc
2 ; RUN: llc < %s -march=x86-64 | grep rdtsc
D2006-07-10-InlineAsmAConstraint.ll5 %tmp.i5 = call i64 asm sideeffect "rdtsc", "=A,~{dirflag},~{fpsr},~{flags}"( ) ; <i64> [#uses=1]
/external/autotest/client/tests/monotonic_time/src/
Dtime_test.c76 static inline uint64_t rdtsc(void) in rdtsc() function
83 static inline uint64_t rdtsc(void) in rdtsc() function
97 return rdtsc(); in rdtsc_mfence()
104 return rdtsc(); in rdtsc_lfence()
/external/eigen/bench/btl/generic_bench/timers/
Dx86_timer.hh55 rdtsc(_click_start.n32[0],_click_start.n32[1]); in start()
62 rdtsc(_click_stop.n32[0],_click_stop.n32[1]); in stop()
/external/u-boot/arch/x86/cpu/quark/
Dmrc.c175 my_tsc = rdtsc(); in mrc_mem_init()
177 DPF(D_TIME, "Execution time %llx", rdtsc() - my_tsc); in mrc_mem_init()
/external/ltp/testcases/realtime/func/measurement/
D.gitignore2 /rdtsc-latency
/external/openssh/openbsd-compat/
Darc4random.c319 v = rdtsc();
322 v = rdtsc() - v;
/external/swiftshader/third_party/LLVM/test/CodeGen/Generic/
D2007-12-17-InvokeAsm.ll5 …invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{f…
/external/llvm/test/CodeGen/Generic/
D2007-12-17-InvokeAsm.ll5 …invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{f…
/external/u-boot/drivers/watchdog/
Dtangier_wdt.c36 now = rdtsc() / 1000; in hw_watchdog_reset()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Generic/
D2007-12-17-InvokeAsm.ll7 …invoke void asm "rdtsc\0A\09movl %eax, $0\0A\09movl %edx, $1", "=*imr,=*imr,~{dirflag},~{fpsr},~{f…
/external/u-boot/arch/x86/include/asm/
Du-boot-x86.h77 static inline __attribute__((no_instrument_function)) uint64_t rdtsc(void) in rdtsc() function
/external/u-boot/arch/x86/cpu/coreboot/
Dtimestamp.c46 timestamp_add(id, rdtsc()); in timestamp_add_now()

123