Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A 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()
H A 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()
/openbmc/qemu/tests/avocado/acpi-bits/bits-tests/
H A Dsmilatency.py292 tsc_start = bits.rdtsc()
94 return bits.rdtsc() - tsc_start
/openbmc/linux/arch/x86/kernel/
H A 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()
/openbmc/linux/arch/x86/kernel/apic/
H A Dapic.c825 u64 tsc_perj = 0, tsc_start = 0; in calibrate_APIC_clock() local
874 tsc_start = rdtsc(); in calibrate_APIC_clock()
889 if ((tsc_now - tsc_start) >= tsc_perj) { in calibrate_APIC_clock()
890 tsc_start += tsc_perj; in calibrate_APIC_clock()