Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/prctl/
H A 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()
H A Ddisable-tsc-on-off-stress-test.c33 static uint64_t rdtsc(void) in rdtsc() function
57 rdtsc(); in sigsegv_cb()
66 rdtsc(); in task()
H A Ddisable-tsc-ctxt-sw-stress-test.c31 static uint64_t rdtsc(void) in rdtsc() function
53 rdtsc(); in segvtask()
74 for(;;) rdtsc(); in rdtsctask()
/linux/tools/testing/selftests/kvm/x86_64/
H A Dhyperv_clock.c
H A Dvmx_preemption_timer_test.c
H A Dvmx_tsc_adjust_test.c
H A Dtsc_scaling_sync.c
H A Dapic_bus_clock_test.c
H A Dvmx_nested_tsc_scaling_test.c
H A Dxapic_ipi_test.c
H A Dkvm_clock_test.c
/linux/tools/power/cpupower/debug/kernel/
H A Dcpufreq-test_tsc.c85 then_tsc = rdtsc(); in cpufreq_test_tsc()
89 now_tsc = rdtsc(); in cpufreq_test_tsc()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_mksstat.h101 .t0 = rdtsc(), \
120 …const u64 dt = rdtsc() - _##kern_cntr.t0; …
/linux/tools/testing/selftests/kvm/
H A Dsystem_counter_offset_test.c44 return rdtsc(); in guest_read_system_counter()
49 return rdtsc() + test->tsc_offset; in host_read_guest_system_counter()
/linux/tools/perf/arch/arm64/util/
H A Dtsc.c7 u64 rdtsc(void) in rdtsc() function
H A Dhisi-ptt.c149 return rdtsc(); in hisi_ptt_reference()
/linux/arch/x86/include/asm/
H A Dtimex.h13 return rdtsc(); in random_get_entropy()
H A Dtsc.h27 return rdtsc(); in get_cycles()
H A Dentry-common.h94 choose_random_kstack_offset(rdtsc()); in arch_exit_to_user_mode_prepare()
/linux/arch/x86/lib/
H A Dkaslr.c76 raw = rdtsc(); in kaslr_get_random_long()
H A Ddelay.c195 *timer_val = rdtsc(); in read_current_timer()
/linux/arch/x86/kernel/cpu/
H A Dvmware.c167 ns = mul_u64_u32_shr(rdtsc(), vmware_cyc2ns.cyc2ns_mul, in vmware_sched_clock()
176 unsigned long long tsc_now = rdtsc(); in vmware_cyc2ns_setup()
/linux/drivers/thermal/intel/
H A Dintel_powerclamp.c439 tsc_now = rdtsc(); in powerclamp_adjust_controls()
508 tsc_now = rdtsc(); in poll_pkg_cstate()
/linux/tools/perf/tests/
H A Dperf-time-to-tsc.c141 test_tsc = rdtsc(); in test__perf_time_to_tsc()
/linux/arch/x86/kernel/cpu/mce/
H A Dapei.c60 m->tsc = rdtsc(); in apei_mce_report_mem_error()

12