Home
last modified time | relevance | path

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

/dragonfly/sys/platform/pc64/isa/
H A Dclock.c564 tsc_uclock_t old_tsc; in calibrate_clocks() local
602 old_tsc = rdtsc(); in calibrate_clocks()
604 old_tsc = 0; /* shut up gcc */ in calibrate_clocks()
836 u_int64_t old_tsc, new_tsc; in do_calibrate_cputimer() local
839 old_tsc = rdtsc_ordered(); in do_calibrate_cputimer()
842 freq = new_tsc - old_tsc; in do_calibrate_cputimer()
986 u_int64_t old_tsc, new_tsc; in startrtclock() local
988 old_tsc = rdtsc_ordered(); in startrtclock()
992 if (max < (new_tsc - old_tsc)) in startrtclock()
993 max = new_tsc - old_tsc; in startrtclock()
[all …]
/dragonfly/sys/dev/acpica/
H A Dacpi_hpet.c180 uint64_t old_tsc, new_tsc; in acpi_hpet_early_init() local
217 old_tsc = rdtsc(); in acpi_hpet_early_init()
221 } while (new_tsc - old_tsc < 6000); in acpi_hpet_early_init()
/dragonfly/sys/platform/pc64/apic/
H A Dlapic.c586 u_int64_t old_tsc, new_tsc; in lapic_timer_calibrate() local
596 old_tsc = rdtsc_ordered(); in lapic_timer_calibrate()
599 new_tsc -= old_tsc; in lapic_timer_calibrate()