Home
last modified time | relevance | path

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

/arch/x86/kernel/
Dtsc.c711 u64 tsc1, tsc2, delta, ref1, ref2; in pit_hpet_ptimer_calibrate_cpu() local
758 tsc2 = tsc_read_refs(&ref2, hpet); in pit_hpet_ptimer_calibrate_cpu()
769 if (tsc1 == ULLONG_MAX || tsc2 == ULLONG_MAX) in pit_hpet_ptimer_calibrate_cpu()
772 tsc2 = (tsc2 - tsc1) * 1000000LL; in pit_hpet_ptimer_calibrate_cpu()
774 tsc2 = calc_hpet_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu()
776 tsc2 = calc_pmtimer_ref(tsc2, ref1, ref2); in pit_hpet_ptimer_calibrate_cpu()
778 tsc_ref_min = min(tsc_ref_min, (unsigned long) tsc2); in pit_hpet_ptimer_calibrate_cpu()