Searched refs:new_tsc (Results 1 – 3 of 3) sorted by relevance
586 u_int64_t old_tsc, new_tsc; in lapic_timer_calibrate() local598 new_tsc = rdtsc_ordered(); in lapic_timer_calibrate()599 new_tsc -= old_tsc; in lapic_timer_calibrate()600 apic_delay_tsc += new_tsc; in lapic_timer_calibrate()602 min_apic_tsc > new_tsc) { in lapic_timer_calibrate()603 min_apic_tsc = new_tsc; in lapic_timer_calibrate()605 if (max_apic_tsc < new_tsc) in lapic_timer_calibrate()606 max_apic_tsc = new_tsc; in lapic_timer_calibrate()
836 u_int64_t old_tsc, new_tsc; in do_calibrate_cputimer() local841 new_tsc = rdtsc(); in do_calibrate_cputimer()842 freq = new_tsc - old_tsc; in do_calibrate_cputimer()986 u_int64_t old_tsc, new_tsc; in startrtclock() local990 new_tsc = rdtsc_ordered(); in startrtclock()991 cputime_latency_tsc += (new_tsc - old_tsc); in startrtclock()992 if (max < (new_tsc - old_tsc)) in startrtclock()993 max = new_tsc - old_tsc; in startrtclock()994 if (min == 0 || min > (new_tsc - old_tsc)) in startrtclock()995 min = new_tsc - old_tsc; in startrtclock()
180 uint64_t old_tsc, new_tsc; in acpi_hpet_early_init() local220 new_tsc = rdtsc(); in acpi_hpet_early_init()221 } while (new_tsc - old_tsc < 6000); in acpi_hpet_early_init()