Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/kvm/x86_64/
Dvmx_nested_tsc_scaling_test.c60 uint64_t tsc_start, tsc_end, tsc_freq; in check_tsc_freq() local
68 tsc_start = rdmsr(MSR_IA32_TSC); in check_tsc_freq()
72 tsc_freq = tsc_end - tsc_start; in check_tsc_freq()
156 uint64_t tsc_start, tsc_end; in main() local
178 tsc_start = rdtsc(); in main()
182 l0_tsc_freq = tsc_end - tsc_start; in main()
Dxapic_ipi_test.c138 uint64_t tsc_start; in sender_guest_code() local
180 tsc_start = rdtsc(); in sender_guest_code()
181 while (rdtsc() - tsc_start < 2000000000) { in sender_guest_code()
/linux-5.19.10/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-5.19.10/arch/x86/kernel/apic/
Dapic.c843 u64 tsc_perj = 0, tsc_start = 0; in calibrate_APIC_clock() local
892 tsc_start = rdtsc(); in calibrate_APIC_clock()
907 if ((tsc_now - tsc_start) >= tsc_perj) { in calibrate_APIC_clock()
908 tsc_start += tsc_perj; in calibrate_APIC_clock()