Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/prctl/
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()
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()
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/
A 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()
A Dhyperv_clock.c60 r1 = rdtsc(); in check_tsc_msr_rdtsc()
63 r2 = rdtsc(); in check_tsc_msr_rdtsc()
79 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()
188 r2 = rdtsc(); in host_check_tsc_msr_rdtsc()
A 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()
A Dvmx_nested_tsc_scaling_test.c178 tsc_start = rdtsc(); in main()
180 tsc_end = rdtsc(); in main()
A Dxapic_ipi_test.c180 tsc_start = rdtsc(); in sender_guest_code()
181 while (rdtsc() - tsc_start < 2000000000) { in sender_guest_code()
/linux/tools/power/cpupower/debug/kernel/
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/
A Dvmwgfx_mksstat.h99 .t0 = rdtsc(), \
118 …const u64 dt = rdtsc() - _##kern_cntr.t0; …
/linux/tools/testing/selftests/kvm/
A Dsystem_counter_offset_test.c48 return rdtsc(); in guest_read_system_counter()
53 return rdtsc() + test->tsc_offset; in host_read_guest_system_counter()
/linux/tools/perf/arch/x86/tests/
A Drdpmc.c28 static u64 rdtsc(void) in rdtsc() function
51 cyc = rdtsc(); in mmap_read_self()
/linux/tools/perf/arch/arm64/util/
A Dtsc.c7 u64 rdtsc(void) in rdtsc() function
/linux/tools/perf/arch/x86/util/
A Dtsc.c6 u64 rdtsc(void) in rdtsc() function
/linux/tools/perf/util/
A Dtsc.h27 u64 rdtsc(void);
A Dtsc.c111 u64 __weak rdtsc(void) in rdtsc() function
/linux/arch/x86/include/asm/
A Dstackprotector.h66 tsc = rdtsc(); in boot_init_stack_canary()
A Dtsc.h28 return rdtsc(); in get_cycles()
A Dentry-common.h88 choose_random_kstack_offset(rdtsc() & 0xFF); in arch_exit_to_user_mode_prepare()
/linux/arch/x86/lib/
A Dkaslr.c76 raw = rdtsc(); in kaslr_get_random_long()
A Ddelay.c195 *timer_val = rdtsc(); in read_current_timer()
/linux/arch/x86/kernel/cpu/
A Dvmware.c150 ns = mul_u64_u32_shr(rdtsc(), vmware_cyc2ns.cyc2ns_mul, in vmware_sched_clock()
159 unsigned long long tsc_now = rdtsc(); in vmware_cyc2ns_setup()
/linux/arch/x86/kernel/
A Dtsc.c191 __set_cyc2ns_scale(tsc_khz, smp_processor_id(), rdtsc()); in cyc2ns_init_boot_cpu()
221 u64 tsc_now = rdtsc(); in native_sched_clock()
1008 set_cyc2ns_scale(tsc_khz, freq->policy->cpu, rdtsc()); in time_cpufreq_notifier()
A Despfix_64.c105 rand = rdtsc(); in init_espfix_random()
/linux/drivers/thermal/intel/
A Dintel_powerclamp.c334 tsc_now = rdtsc(); in powerclamp_adjust_controls()
453 tsc_now = rdtsc(); in poll_pkg_cstate()

Completed in 28 milliseconds

12