Home
last modified time | relevance | path

Searched refs:tsc_start (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dvmx_nested_tsc_scaling_test.c57 uint64_t tsc_start, tsc_end, tsc_freq; in check_tsc_freq() local
65 tsc_start = rdmsr(MSR_IA32_TSC); in check_tsc_freq()
69 tsc_freq = tsc_end - tsc_start; in check_tsc_freq()
146 uint64_t tsc_start, tsc_end; in main() local
168 tsc_start = rdtsc(); in main()
172 l0_tsc_freq = tsc_end - tsc_start; in main()
Dxapic_ipi_test.c134 uint64_t tsc_start; in sender_guest_code() local
176 tsc_start = rdtsc(); in sender_guest_code()
177 while (rdtsc() - tsc_start < 2000000000) { in sender_guest_code()
/linux-6.1.9/arch/x86/kernel/
Dtsc.c1333 static u64 tsc_start = ULLONG_MAX, ref_start; in tsc_refine_calibration_work() local
1348 if (tsc_start == ULLONG_MAX) { in tsc_refine_calibration_work()
1355 tsc_start = tsc_read_refs(&ref_start, hpet); in tsc_refine_calibration_work()
1370 delta = tsc_stop - tsc_start; in tsc_refine_calibration_work()
/linux-6.1.9/arch/x86/kernel/apic/
Dapic.c844 u64 tsc_perj = 0, tsc_start = 0; in calibrate_APIC_clock() local
893 tsc_start = rdtsc(); in calibrate_APIC_clock()
908 if ((tsc_now - tsc_start) >= tsc_perj) { in calibrate_APIC_clock()
909 tsc_start += tsc_perj; in calibrate_APIC_clock()