/Linux-v4.19/tools/testing/selftests/prctl/ |
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()
|
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()
|
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()
|
/Linux-v4.19/tools/testing/selftests/kvm/ |
D | vmx_tsc_adjust_test.c | 76 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()
|
/Linux-v4.19/arch/x86/kernel/ |
D | apb_timer.c | 257 start = rdtsc(); in apbt_clocksource_register() 267 now = rdtsc(); in apbt_clocksource_register() 384 t1 = rdtsc(); in apbt_quick_calibrate() 390 t2 = rdtsc(); in apbt_quick_calibrate()
|
D | espfix_64.c | 113 rand = rdtsc(); in init_espfix_random()
|
D | tsc.c | 182 __set_cyc2ns_scale(tsc_khz, smp_processor_id(), rdtsc()); in cyc2ns_init_boot_cpu() 213 u64 tsc_now = rdtsc(); in native_sched_clock() 979 set_cyc2ns_scale(tsc_khz, freq->cpu, rdtsc()); in time_cpufreq_notifier()
|
/Linux-v4.19/tools/power/cpupower/debug/kernel/ |
D | cpufreq-test_tsc.c | 84 then_tsc = rdtsc(); in cpufreq_test_tsc() 88 now_tsc = rdtsc(); in cpufreq_test_tsc()
|
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | vmware.c | 84 ns = mul_u64_u32_shr(rdtsc(), vmware_cyc2ns.cyc2ns_mul, in vmware_sched_clock() 93 unsigned long long tsc_now = rdtsc(); in vmware_sched_clock_setup()
|
D | amd.c | 140 d = rdtsc(); in init_amd_k6() 143 d2 = rdtsc(); in init_amd_k6()
|
/Linux-v4.19/tools/perf/arch/x86/tests/ |
D | rdpmc.c | 26 static u64 rdtsc(void) in rdtsc() function 49 cyc = rdtsc(); in mmap_read_self()
|
D | perf-time-to-tsc.c | 105 test_tsc = rdtsc(); in test__perf_time_to_tsc()
|
/Linux-v4.19/tools/perf/util/ |
D | tsc.h | 21 u64 rdtsc(void);
|
D | tsc.c | 28 u64 __weak rdtsc(void) in rdtsc() function
|
/Linux-v4.19/arch/x86/include/asm/ |
D | tsc.h | 30 return rdtsc(); in get_cycles()
|
D | stackprotector.h | 76 tsc = rdtsc(); in boot_init_stack_canary()
|
D | msr.h | 201 static __always_inline unsigned long long rdtsc(void) in rdtsc() function 232 return rdtsc(); in rdtsc_ordered()
|
/Linux-v4.19/arch/x86/lib/ |
D | kaslr.c | 72 raw = rdtsc(); in kaslr_get_random_long()
|
D | delay.c | 153 *timer_val = rdtsc(); in read_current_timer()
|
/Linux-v4.19/tools/perf/arch/x86/util/ |
D | tsc.c | 42 u64 rdtsc(void) in rdtsc() function
|
/Linux-v4.19/arch/x86/kernel/cpu/mcheck/ |
D | mce-apei.c | 58 m.tsc = rdtsc(); in apei_mce_report_mem_error()
|
/Linux-v4.19/drivers/thermal/ |
D | intel_powerclamp.c | 352 tsc_now = rdtsc(); in powerclamp_adjust_controls() 471 tsc_now = rdtsc(); in poll_pkg_cstate()
|
/Linux-v4.19/drivers/input/gameport/ |
D | gameport.c | 152 t1 = rdtsc(); in old_gameport_measure_speed() 154 t2 = rdtsc(); in old_gameport_measure_speed()
|
/Linux-v4.19/arch/x86/kernel/apic/ |
D | apic.c | 470 tsc = rdtsc(); in lapic_next_deadline() 727 tsc = rdtsc(); in lapic_cal_handler() 1424 tsc = rdtsc(); in apic_pending_intr_clear() 1454 ntsc = rdtsc(); in apic_pending_intr_clear()
|
/Linux-v4.19/arch/x86/kvm/ |
D | pmu.c | 264 ctr_val = rdtsc(); in kvm_pmu_rdpmc_vmware()
|