Home
last modified time | relevance | path

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

/linux-6.6.21/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()
142 uint64_t tsc_start, tsc_end; in main() local
164 tsc_start = rdtsc(); in main()
168 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.6.21/arch/x86/kernel/
Dtsc.c1374 static u64 tsc_start = ULLONG_MAX, ref_start; in tsc_refine_calibration_work() local
1389 if (tsc_start == ULLONG_MAX) { in tsc_refine_calibration_work()
1396 tsc_start = tsc_read_refs(&ref_start, hpet); in tsc_refine_calibration_work()
1411 delta = tsc_stop - tsc_start; in tsc_refine_calibration_work()
/linux-6.6.21/arch/x86/kernel/apic/
Dapic.c813 u64 tsc_perj = 0, tsc_start = 0; in calibrate_APIC_clock() local
862 tsc_start = rdtsc(); in calibrate_APIC_clock()
877 if ((tsc_now - tsc_start) >= tsc_perj) { in calibrate_APIC_clock()
878 tsc_start += tsc_perj; in calibrate_APIC_clock()