/netbsd-src/sys/kern/ |
H A D | kern_cctr.c | 193 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 D | kern_entropy.c | 296 return cpu_counter32(); in entropy_timer()
|
/netbsd-src/sys/arch/mips/include/ |
H A D | cpu_counter.h | 57 #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 D | cpu_counter.h | 45 #define cpu_counter() cpu_counter32() 48 cpu_counter32(void) in cpu_counter32() function
|
/netbsd-src/sys/arch/alpha/include/ |
H A D | cpu_counter.h | 49 #define cpu_counter() cpu_counter32() 52 cpu_counter32(void) in cpu_counter32() function
|
/netbsd-src/sys/arch/riscv/include/ |
H A D | cpu_counter.h | 83 #define cpu_counter() cpu_counter32() 87 cpu_counter32(void) in cpu_counter32() function
|
/netbsd-src/sys/arch/powerpc/include/ |
H A D | cpu_counter.h | 48 #define cpu_counter() cpu_counter32() 51 cpu_counter32(void) in cpu_counter32() function
|
/netbsd-src/sys/arch/arm/include/ |
H A D | cpu_counter.h | 50 #define cpu_counter() cpu_counter32() 54 cpu_counter32(void) in cpu_counter32() function
|
/netbsd-src/sys/arch/x86/x86/ |
H A D | tsc.c | 64 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 D | syscall_stats.h | 53 #define SYSCALL_TIME() (cpu_counter32()) 55 #define SYSCALL_TIME() (cpu_hascounter() ? cpu_counter32() : 0u)
|
/netbsd-src/sys/arch/alpha/alpha/ |
H A D | mcclock.c | 230 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 D | cpu_counter.h | 39 #define cpu_counter32() 0 macro
|
/netbsd-src/sys/rump/librump/rumpkern/arch/x86/ |
H A D | rump_x86_cpu_counter.c | 67 uint32_t (*cpu_counter32)(void) = nullfunc32; variable
|
/netbsd-src/sys/arch/sparc64/include/ |
H A D | cpu_counter.h | 53 cpu_counter32(void) in cpu_counter32() function
|
/netbsd-src/sys/arch/ia64/include/ |
H A D | cpu_counter.h | 56 cpu_counter32(void) in cpu_counter32() function
|
/netbsd-src/sys/arch/x86/include/ |
H A D | cpu_counter.h | 42 extern uint32_t (*cpu_counter32)(void);
|
/netbsd-src/sys/arch/aarch64/include/ |
H A D | cpu_counter.h | 55 cpu_counter32(void) in cpu_counter32() function
|
/netbsd-src/sys/arch/aarch64/aarch64/ |
H A D | cpu.c | 538 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 D | locore_mips3.S | 542 WEAK_ALIAS(cpu_counter32, mips3_cp0_count_read)
|