Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/
Dvmx_preemption_timer_test.c43 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()
Dvmx_tsc_adjust_test.c74 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/
Dcpufreq-test_tsc.c85 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/
Dtsc.c7 u64 rdtsc(void) in rdtsc() function
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dtsc.c6 u64 rdtsc(void) in rdtsc() function
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/
Drdpmc.c28 static u64 rdtsc(void) in rdtsc() function
51 cyc = rdtsc(); in mmap_read_self()
Dperf-time-to-tsc.c112 test_tsc = rdtsc(); in test__perf_time_to_tsc()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dtimex.h13 return rdtsc(); in random_get_entropy()
Dtsc.h26 return rdtsc(); in get_cycles()
Dstackprotector.h81 tsc = rdtsc(); in boot_init_stack_canary()
/kernel/linux/linux-5.10/tools/perf/util/
Dtsc.h25 u64 rdtsc(void);
Dtsc.c109 u64 __weak rdtsc(void) in rdtsc() function
/kernel/linux/linux-5.10/arch/x86/kernel/
Dapb_timer.c253 start = rdtsc(); in apbt_clocksource_register()
263 now = rdtsc(); in apbt_clocksource_register()
Despfix_64.c105 rand = rdtsc(); in init_espfix_random()
Dtsc.c190 __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/
Dkaslr.c72 raw = rdtsc(); in kaslr_get_random_long()
Ddelay.c195 *timer_val = rdtsc(); in read_current_timer()
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/
Dvmware.c149 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/
Dapei.c46 m.tsc = rdtsc(); in apei_mce_report_mem_error()
/kernel/linux/linux-5.10/drivers/thermal/intel/
Dintel_powerclamp.c334 tsc_now = rdtsc(); in powerclamp_adjust_controls()
453 tsc_now = rdtsc(); in poll_pkg_cstate()
/kernel/linux/linux-5.10/drivers/input/gameport/
Dgameport.c148 t1 = rdtsc(); in old_gameport_measure_speed()
150 t2 = rdtsc(); in old_gameport_measure_speed()
/kernel/linux/linux-5.10/arch/x86/kernel/apic/
Dapic.c479 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()

12