| /netbsd-src/sys/arch/evbarm/ifpga/ |
| H A D | ifpga_clock.c | 260 if (profhz == 0) in cpu_initclocks() 261 profhz = stathz * 5; in cpu_initclocks() 262 else if (profhz < stathz || COUNTS_PER_SEC % profhz) { in cpu_initclocks() 263 printf("cannot get %d Hz profclock; using %d Hz\n", profhz, in cpu_initclocks() 265 profhz = stathz; in cpu_initclocks() 270 profint = COUNTS_PER_SEC / profhz; in cpu_initclocks() 287 printf("clock: hz=%d stathz = %d profhz = %d\n", hz, stathz, profhz); in cpu_initclocks()
|
| /netbsd-src/sys/arch/hp300/hp300/ |
| H A D | clock.c | 216 if (profhz == 0) /* XXX should be set in param.c */ in cpu_initclocks() 217 profhz = stathz * 5; in cpu_initclocks() 218 else if (profhz < stathz || COUNTS_PER_SEC % profhz) { in cpu_initclocks() 220 profhz, stathz); in cpu_initclocks() 221 profhz = stathz; in cpu_initclocks() 226 profint = COUNTS_PER_SEC / profhz; in cpu_initclocks()
|
| /netbsd-src/sys/kern/ |
| H A D | kern_clock.c | 135 int profhz; variable 262 if (profhz == 0) in initclocks() 263 profhz = i; in initclocks() 264 psratio = profhz / i; in initclocks() 431 setstatclockrate(profhz); 546 clkinfo.profhz = profhz;
|
| /netbsd-src/sys/arch/arm/xscale/ |
| H A D | becc_timer.c | 142 if (profhz != 0) in cpu_initclocks() 143 printf("Cannot get %d Hz profclock\n", profhz); in cpu_initclocks() 144 profhz = 0; in cpu_initclocks() 147 aprint_normal("clock: hz=%d stathz=%d profhz=%d\n", hz, stathz, profhz); in cpu_initclocks()
|
| H A D | i80321_timer.c | 226 if (profhz != 0) in cpu_initclocks() 227 aprint_error("Cannot get %d Hz profclock\n", profhz); in cpu_initclocks() 228 profhz = 0; in cpu_initclocks() 231 aprint_normal("clock: hz=%d stathz=%d profhz=%d\n", hz, stathz, profhz); in cpu_initclocks()
|
| H A D | ixp425_timer.c | 152 if (profhz != 0) in cpu_initclocks() 153 aprint_error("Cannot get %d Hz profclock\n", profhz); in cpu_initclocks() 154 profhz = 0; in cpu_initclocks() 157 aprint_normal("clock: hz=%d stathz=%d profhz=%d\n", hz, stathz, profhz); in cpu_initclocks()
|
| /netbsd-src/sys/arch/evbarm/iq80310/ |
| H A D | iq80310_timer.c | 196 * We only have one timer available; stathz and profhz are in cpu_initclocks() 204 if (profhz != 0) in cpu_initclocks() 205 printf("Cannot get %d Hz profclock\n", profhz); in cpu_initclocks() 206 profhz = 0; in cpu_initclocks() 209 printf("clock: hz=%d stathz=%d profhz=%d\n", hz, stathz, profhz); in cpu_initclocks() 238 * We assume that hz is either stathz or profhz, and that neither
|
| /netbsd-src/sys/arch/atari/dev/ |
| H A D | clock.c | 209 if ((profhz == 0) || (profhz > (hz << 1)) || (CLOCK_HZ % profhz)) in clockattach() 210 profhz = hz << 1; in clockattach() 217 profmin = (CLOCK_HZ/profhz) - (statvar >> 1); in clockattach()
|
| /netbsd-src/sys/arch/arm/footbridge/ |
| H A D | footbridge_clock.c | 275 if (profhz == 0) in cpu_initclocks() 276 profhz = stathz * 5; in cpu_initclocks() 279 aprint_debug("clock: hz=%d stathz = %d profhz = %d\n", hz, stathz, profhz); in cpu_initclocks()
|
| /netbsd-src/lib/libc/gmon/ |
| H A D | gmon.c | 417 clockinfo.profhz = hertz(); in _mcleanup() 418 } else if (clockinfo.profhz == 0) { in _mcleanup() 420 clockinfo.profhz = clockinfo.hz; in _mcleanup() 422 clockinfo.profhz = hertz(); in _mcleanup() 470 hdr->profrate = clockinfo.profhz; in _mcleanup()
|
| /netbsd-src/sys/compat/common/ |
| H A D | kern_info_43.c | 155 long profhz; member 290 ksi.profhz = profhz; in compat_43_sys_getkerninfo()
|
| /netbsd-src/sys/arch/arm/gemini/ |
| H A D | obio_timer.c | 249 profhz = stathz = hz; in obiotimer_attach() 260 profhz = stathz = hz; in obiotimer_attach()
|
| /netbsd-src/sys/sys/ |
| H A D | kernel.h | 62 extern int profhz; /* profiling clock's frequency */
|
| /netbsd-src/sys/arch/arm/ofw/ |
| H A D | ofwgencfg_clock.c | 122 printf("clock: hz=%d stathz = %d profhz = %d\n", hz, stathz, profhz); in cpu_initclocks()
|
| /netbsd-src/sys/arch/mvme68k/mvme68k/ |
| H A D | clock.c | 119 profhz = stathz; /* always */ in cpu_initclocks()
|
| /netbsd-src/sys/arch/virt68k/virt68k/ |
| H A D | clock.c | 193 profhz = stathz; /* always */ in cpu_initclocks()
|
| /netbsd-src/sys/arch/sparc/sparc/ |
| H A D | oclock.c | 200 profhz = hz = 100; in oclock_init()
|
| H A D | clock.c | 165 profhz = stathz; /* always */ in cpu_initclocks()
|
| /netbsd-src/sys/arch/powerpc/ibm4xx/ |
| H A D | clock.c | 181 stathz = profhz = ticks_per_sec / (1 << PERIOD_POWER); in cpu_initclocks()
|
| /netbsd-src/sys/arch/arm/ep93xx/ |
| H A D | epclk.c | 207 stathz = profhz = 0; in cpu_initclocks()
|
| /netbsd-src/sys/arch/arm/at91/ |
| H A D | at91st.c | 260 stathz = profhz = 0; in cpu_initclocks()
|
| /netbsd-src/sys/arch/arm/iomd/ |
| H A D | iomd_clock.c | 270 aprint_normal("clock: hz=%d stathz = %d profhz = %d\n", hz, stathz, profhz); in cpu_initclocks()
|
| /netbsd-src/usr.sbin/kgmon/ |
| H A D | kgmon.c | 499 clockrate.profhz = 1; in getprofhz() 503 return (clockrate.profhz); in getprofhz()
|
| /netbsd-src/sys/arch/arm/s3c2xx0/ |
| H A D | s3c2800_clk.c | 227 profhz = stathz; in cpu_initclocks()
|
| /netbsd-src/sys/arch/arm/ixp12x0/ |
| H A D | ixp12x0_clk.c | 255 stathz = profhz = 0; in cpu_initclocks()
|