/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/ |
D | vmx_preemption_timer_test.c | 43 l2_vmx_pt_start = (rdtsc() >> vmx_pt_rate) << vmx_pt_rate; in l2_guest_code() 49 l2_vmx_pt_finish = rdtsc(); in l2_guest_code() 65 while ((l2_vmx_pt_finish = rdtsc())) in l2_guest_code() 116 l1_vmx_pt_start = (rdtsc() >> vmx_pt_rate) << vmx_pt_rate; in l1_guest_code() 120 l1_vmx_pt_finish = rdtsc(); in l1_guest_code()
|
D | vmx_tsc_adjust_test.c | 74 uint64_t l1_tsc = rdtsc() - TSC_OFFSET_VALUE; in l2_guest_code() 90 GUEST_ASSERT(rdtsc() < TSC_ADJUST_VALUE); in l1_guest_code() 91 wrmsr(MSR_IA32_TSC, rdtsc() - TSC_ADJUST_VALUE); in l1_guest_code()
|
/kernel/linux/linux-5.10/tools/power/cpupower/debug/kernel/ |
D | cpufreq-test_tsc.c | 85 then_tsc = rdtsc(); in cpufreq_test_tsc() 89 now_tsc = rdtsc(); in cpufreq_test_tsc()
|
/kernel/linux/linux-5.10/tools/perf/arch/arm64/util/ |
D | tsc.c | 7 u64 rdtsc(void) in rdtsc() function
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
D | tsc.c | 6 u64 rdtsc(void) in rdtsc() function
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
D | rdpmc.c | 28 static u64 rdtsc(void) in rdtsc() function 51 cyc = rdtsc(); in mmap_read_self()
|
D | perf-time-to-tsc.c | 112 test_tsc = rdtsc(); in test__perf_time_to_tsc()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | timex.h | 13 return rdtsc(); in random_get_entropy()
|
D | tsc.h | 26 return rdtsc(); in get_cycles()
|
D | stackprotector.h | 81 tsc = rdtsc(); in boot_init_stack_canary()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | tsc.h | 25 u64 rdtsc(void);
|
D | tsc.c | 109 u64 __weak rdtsc(void) in rdtsc() function
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | apb_timer.c | 253 start = rdtsc(); in apbt_clocksource_register() 263 now = rdtsc(); in apbt_clocksource_register()
|
D | espfix_64.c | 105 rand = rdtsc(); in init_espfix_random()
|
D | tsc.c | 190 __set_cyc2ns_scale(tsc_khz, smp_processor_id(), rdtsc()); in cyc2ns_init_boot_cpu() 220 u64 tsc_now = rdtsc(); in native_sched_clock() 1007 set_cyc2ns_scale(tsc_khz, freq->policy->cpu, rdtsc()); in time_cpufreq_notifier()
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
D | kaslr.c | 72 raw = rdtsc(); in kaslr_get_random_long()
|
D | delay.c | 195 *timer_val = rdtsc(); in read_current_timer()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/ |
D | vmware.c | 149 ns = mul_u64_u32_shr(rdtsc(), vmware_cyc2ns.cyc2ns_mul, in vmware_sched_clock() 158 unsigned long long tsc_now = rdtsc(); in vmware_cyc2ns_setup()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | apei.c | 46 m.tsc = rdtsc(); in apei_mce_report_mem_error()
|
/kernel/linux/linux-5.10/drivers/thermal/intel/ |
D | intel_powerclamp.c | 334 tsc_now = rdtsc(); in powerclamp_adjust_controls() 453 tsc_now = rdtsc(); in poll_pkg_cstate()
|
/kernel/linux/linux-5.10/drivers/input/gameport/ |
D | gameport.c | 148 t1 = rdtsc(); in old_gameport_measure_speed() 150 t2 = rdtsc(); in old_gameport_measure_speed()
|
/kernel/linux/linux-5.10/arch/x86/kernel/apic/ |
D | apic.c | 479 tsc = rdtsc(); in lapic_next_deadline() 699 tsc = rdtsc(); in lapic_cal_handler() 881 tsc_start = rdtsc(); in calibrate_APIC_clock() 895 u64 tsc_now = rdtsc(); in calibrate_APIC_clock()
|