Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/x86/x86/
H A Dtsc.c43 #include <machine/cpu_counter.h>
63 uint64_t (*cpu_counter)(void) = cpu_counter_cpuid; variable
195 cpu_counter = cpu_counter_##fence; \ in tsc_setfunc()
410 start = cpu_counter(); in tsc_delay()
413 while ((cpu_counter() - start) < delta) { in tsc_delay()
435 cur = cpu_counter(); in tsc_get_timecount()
H A Dlapic.c665 (void)cpu_counter(); in lapic_calibrate_timer()
666 t0 = cpu_counter(); in lapic_calibrate_timer()
668 t0 += cpu_counter(); in lapic_calibrate_timer()
670 t1 = cpu_counter(); in lapic_calibrate_timer()
672 t1 += cpu_counter(); in lapic_calibrate_timer()
H A Dcpu.c1452 t0 = cpu_counter(); in cpu_get_tsc_freq()
1454 t1 = cpu_counter(); in cpu_get_tsc_freq()
1468 t0 = cpu_counter(); in cpu_get_tsc_freq()
1470 t1 = cpu_counter(); in cpu_get_tsc_freq()
H A Dhyperv.c210 tsc = cpu_counter(); in hyperv_tc64_tsc()
/netbsd-src/sys/dev/ic/
H A Dhpet.c217 (void)cpu_counter(); in hpet_tsc_freq()
220 td0 = cpu_counter(); in hpet_tsc_freq()
238 (void)cpu_counter(); in hpet_tsc_freq()
241 td = cpu_counter(); in hpet_tsc_freq()
/netbsd-src/sys/arch/mips/include/
H A Dcpu_counter.h57 #define cpu_counter() cpu_counter32() macro
61 #define cpu_counter() (0) macro
/netbsd-src/sys/arch/riscv/include/
H A Dcpu_counter.h73 cpu_counter(void) in cpu_counter() function
83 #define cpu_counter() cpu_counter32() macro
/netbsd-src/sys/dev/
H A Dlockstat.h170 (name) -= cpu_counter(); \
176 (name) += cpu_counter(); \
/netbsd-src/regress/sys/kern/allocfree/
H A Dallocfree.c160 x -= cpu_counter(); in test_thread()
162 x += cpu_counter(); in test_thread()
/netbsd-src/sys/rump/include/machine/
H A Dcpu_counter.h38 #define cpu_counter() 0 macro
/netbsd-src/sys/rump/librump/rumpkern/arch/x86/
H A Drump_x86_cpu_counter.c66 uint64_t (*cpu_counter)(void) = nullfunc64; variable
/netbsd-src/sys/arch/sparc64/include/
H A Dcpu_counter.h46 cpu_counter(void) in cpu_counter() function
/netbsd-src/sys/arch/or1k/include/
H A Dcpu_counter.h45 #define cpu_counter() cpu_counter32() macro
/netbsd-src/sys/arch/ia64/include/
H A Dcpu_counter.h50 cpu_counter(void) in cpu_counter() function
/netbsd-src/sys/arch/alpha/include/
H A Dcpu_counter.h49 #define cpu_counter() cpu_counter32() macro
/netbsd-src/sys/arch/x86/include/
H A Dcpu_counter.h41 extern uint64_t (*cpu_counter)(void);
/netbsd-src/sys/arch/aarch64/include/
H A Dcpu_counter.h49 cpu_counter(void) in cpu_counter() function
/netbsd-src/sys/arch/powerpc/include/
H A Dcpu_counter.h48 #define cpu_counter() cpu_counter32() macro
/netbsd-src/sys/arch/arm/include/
H A Dcpu_counter.h50 #define cpu_counter() cpu_counter32() macro
/netbsd-src/usr.bin/vmstat/
H A Dvmstat.c245 struct cpu_counter { struct
292 void cpucounters(struct cpu_counter *);
890 struct cpu_counter cc; in dosum()
1177 cpucounters(struct cpu_counter *cc) in cpucounters()