/openbmc/linux/tools/testing/selftests/prctl/ |
H A D | disable-tsc-test.c | 33 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()
|
H A D | disable-tsc-on-off-stress-test.c | 33 static uint64_t rdtsc(void) in rdtsc() function 57 rdtsc(); in sigsegv_cb() 66 rdtsc(); in task()
|
H A D | disable-tsc-ctxt-sw-stress-test.c | 31 static uint64_t rdtsc(void) in rdtsc() function 53 rdtsc(); in segvtask() 74 for(;;) rdtsc(); in rdtsctask()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | hyperv_clock.c | 60 r1 = rdtsc(); in check_tsc_msr_rdtsc() 62 r1 = (r1 + rdtsc()) / 2; in check_tsc_msr_rdtsc() 64 r2 = rdtsc(); in check_tsc_msr_rdtsc() 66 r2 = (r2 + rdtsc()) / 2; in check_tsc_msr_rdtsc() 81 return mul_u64_u64_shr64(rdtsc(), tsc_page->tsc_scale) + tsc_page->tsc_offset; in get_tscpage_ts() 185 r1 = rdtsc(); in host_check_tsc_msr_rdtsc() 187 r1 = (r1 + rdtsc()) / 2; in host_check_tsc_msr_rdtsc() 189 r2 = rdtsc(); in host_check_tsc_msr_rdtsc() 191 r2 = (r2 + rdtsc()) / 2; in host_check_tsc_msr_rdtsc()
|
H A D | vmx_preemption_timer_test.c | 42 l2_vmx_pt_start = (rdtsc() >> vmx_pt_rate) << vmx_pt_rate; in l2_guest_code() 48 l2_vmx_pt_finish = rdtsc(); in l2_guest_code() 64 while ((l2_vmx_pt_finish = rdtsc())) in l2_guest_code() 115 l1_vmx_pt_start = (rdtsc() >> vmx_pt_rate) << vmx_pt_rate; in l1_guest_code() 119 l1_vmx_pt_finish = rdtsc(); in l1_guest_code()
|
H A D | vmx_tsc_adjust_test.c | 66 uint64_t l1_tsc = rdtsc() - TSC_OFFSET_VALUE; in l2_guest_code() 82 GUEST_ASSERT(rdtsc() < TSC_ADJUST_VALUE); in l1_guest_code() 83 wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE); in l1_guest_code()
|
H A D | tsc_scaling_sync.c | 29 start_tsc = rdtsc(); in guest_code() 32 local_tsc = rdtsc(); in guest_code()
|
H A D | vmx_nested_tsc_scaling_test.c | 164 tsc_start = rdtsc(); in main() 166 tsc_end = rdtsc(); in main()
|
/openbmc/u-boot/drivers/timer/ |
H A D | tsc_timer.c | 241 tsc = rdtsc(); in pit_expect_msb() 243 *deltap = rdtsc() - prev_tsc; in pit_expect_msb() 388 u64 now_tick = rdtsc(); in tsc_timer_get_count() 399 gd->arch.tsc_base = rdtsc(); in tsc_timer_ensure_setup() 464 return rdtsc() - gd->arch.tsc_base; in timer_early_get_count()
|
/openbmc/linux/tools/power/cpupower/debug/kernel/ |
H A D | cpufreq-test_tsc.c | 85 then_tsc = rdtsc(); in cpufreq_test_tsc() 89 now_tsc = rdtsc(); in cpufreq_test_tsc()
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_mksstat.h | 101 .t0 = rdtsc(), \ 120 …const u64 dt = rdtsc() - _##kern_cntr.t0; …
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | system_counter_offset_test.c | 44 return rdtsc(); in guest_read_system_counter() 49 return rdtsc() + test->tsc_offset; in host_read_guest_system_counter()
|
/openbmc/linux/tools/perf/arch/arm64/util/ |
H A D | tsc.c | 7 u64 rdtsc(void) in rdtsc() function
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | mrc.c | 175 my_tsc = rdtsc(); in mrc_mem_init() 177 DPF(D_TIME, "Execution time %llx", rdtsc() - my_tsc); in mrc_mem_init()
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | timex.h | 13 return rdtsc(); in random_get_entropy()
|
H A D | tsc.h | 26 return rdtsc(); in get_cycles()
|
H A D | entry-common.h | 85 choose_random_kstack_offset(rdtsc()); in arch_exit_to_user_mode_prepare()
|
/openbmc/linux/tools/perf/util/ |
H A D | tsc.h | 27 u64 rdtsc(void);
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | tangier_wdt.c | 36 now = rdtsc() / 1000; in hw_watchdog_reset()
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | u-boot-x86.h | 76 static inline __attribute__((no_instrument_function)) uint64_t rdtsc(void) in rdtsc() function
|
/openbmc/linux/arch/x86/lib/ |
H A D | kaslr.c | 76 raw = rdtsc(); in kaslr_get_random_long()
|
H A D | delay.c | 195 *timer_val = rdtsc(); in read_current_timer()
|
/openbmc/linux/tools/perf/arch/x86/util/ |
H A D | tsc.c | 11 u64 rdtsc(void) in rdtsc() function
|
/openbmc/u-boot/arch/x86/cpu/coreboot/ |
H A D | timestamp.c | 46 timestamp_add(id, rdtsc()); in timestamp_add_now()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/rocksdb/files/ |
H A D | 0005-Implement-timer-implementation-for-mips-platform.patch | 22 + // mips apparently only allows rdtsc for superusers, so we fall
|