Home
last modified time | relevance | path

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

/netbsd-src/sys/kern/
H A Dkern_cctr.c193 rcc = cpu_counter32() - curcpu()->ci_cc.cc_delta; in cc_get_timecount()
198 return cpu_counter32(); in cc_get_timecount()
208 t0 = cpu_counter32(); in cc_get_delta()
219 t1 = cpu_counter32(); in cc_get_delta()
285 cc_primary = cpu_counter32(); in cc_primary_cc()
H A Dkern_entropy.c296 return cpu_counter32(); in entropy_timer()
/netbsd-src/sys/arch/mips/include/
H A Dcpu_counter.h57 #define cpu_counter() cpu_counter32()
59 uint32_t cpu_counter32(void); /* weak alias of mips3_cp0_count_read */
62 #define cpu_counter32() (0) macro
/netbsd-src/sys/arch/or1k/include/
H A Dcpu_counter.h45 #define cpu_counter() cpu_counter32()
48 cpu_counter32(void) in cpu_counter32() function
/netbsd-src/sys/arch/alpha/include/
H A Dcpu_counter.h49 #define cpu_counter() cpu_counter32()
52 cpu_counter32(void) in cpu_counter32() function
/netbsd-src/sys/arch/riscv/include/
H A Dcpu_counter.h83 #define cpu_counter() cpu_counter32()
87 cpu_counter32(void) in cpu_counter32() function
/netbsd-src/sys/arch/powerpc/include/
H A Dcpu_counter.h48 #define cpu_counter() cpu_counter32()
51 cpu_counter32(void) in cpu_counter32() function
/netbsd-src/sys/arch/arm/include/
H A Dcpu_counter.h50 #define cpu_counter() cpu_counter32()
54 cpu_counter32(void) in cpu_counter32() function
/netbsd-src/sys/arch/x86/x86/
H A Dtsc.c64 uint32_t (*cpu_counter32)(void) = cpu_counter32_cpuid; variable
196 cpu_counter32 = cpu_counter32_##fence; \ in tsc_setfunc()
451 return cpu_counter32(); in tsc_get_timecount()
/netbsd-src/sys/sys/
H A Dsyscall_stats.h53 #define SYSCALL_TIME() (cpu_counter32())
55 #define SYSCALL_TIME() (cpu_hascounter() ? cpu_counter32() : 0u)
/netbsd-src/sys/arch/alpha/alpha/
H A Dmcclock.c230 pcc_start = cpu_counter32(); in mcclock_set_pcc_freq()
235 pcc_end = cpu_counter32(); in mcclock_set_pcc_freq()
/netbsd-src/sys/rump/include/machine/
H A Dcpu_counter.h39 #define cpu_counter32() 0 macro
/netbsd-src/sys/rump/librump/rumpkern/arch/x86/
H A Drump_x86_cpu_counter.c67 uint32_t (*cpu_counter32)(void) = nullfunc32; variable
/netbsd-src/sys/arch/sparc64/include/
H A Dcpu_counter.h53 cpu_counter32(void) in cpu_counter32() function
/netbsd-src/sys/arch/ia64/include/
H A Dcpu_counter.h56 cpu_counter32(void) in cpu_counter32() function
/netbsd-src/sys/arch/x86/include/
H A Dcpu_counter.h42 extern uint32_t (*cpu_counter32)(void);
/netbsd-src/sys/arch/aarch64/include/
H A Dcpu_counter.h55 cpu_counter32(void) in cpu_counter32() function
/netbsd-src/sys/arch/aarch64/aarch64/
H A Dcpu.c538 const uint32_t prev = cpu_counter32(); in cpu_setup_id()
540 ci->ci_data.cpu_cc_freq = (cpu_counter32() - prev) * 10; in cpu_setup_id()
/netbsd-src/sys/arch/mips/mips/
H A Dlocore_mips3.S542 WEAK_ALIAS(cpu_counter32, mips3_cp0_count_read)