Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_clock.c369 int stathz; variable
429 i = stathz ? stathz : hz; in initclocks()
746 "prio:%d", td->td_priority, "stathz:%d", (stathz)?stathz:hz); in statclock()
804 clkinfo.stathz = stathz ? stathz : hz; in sysctl_kern_clockrate()
H A Dkern_clocksource.c430 while (freq < (profiling ? profhz : stathz))
647 stathz = base;
652 stathz = base / div;
654 profhz = stathz;
655 while ((profhz + stathz) <= 128 * 64)
656 profhz += stathz;
660 stathz = round_freq(timer, 127);
661 profhz = round_freq(timer, stathz * 64);
666 statperiod = SBT_1S / stathz;
H A Dsched_4bsd.c126 static int realstathz = 127; /* stathz is sometimes 0 and run off of hz. */
220 "Quantum for timeshare threads in stathz ticks");
647 * This routine determines time constants after stathz and hz are setup.
653 realstathz = stathz ? stathz : hz; in sched_initticks()
700 /* Convert sched_slice from stathz to hz. */ in sched_rr_interval()
1643 realstathz = stathz ? stathz : hz; in sched_pctcpu_delta()
H A Dsched_ule.c193 #define SCHED_SLICE_DEFAULT_DIVISOR 10 /* ~94 ms, 12 stathz ticks. */
201 * tickincr: Converts a stathz tick into a hz domain scaled by
204 * realstathz: stathz is sometimes 0 and run off of hz.
1552 * This routine determines time constants after stathz and hz are setup.
1560 realstathz = stathz ? stathz : hz; in sched_initticks()
1568 * hz not being evenly divisible by stathz on all platforms. in sched_initticks()
1572 * This does not work for values of stathz that are more than in sched_initticks()
1806 * at most sched_slice stathz ticks.
1812 /* Convert sched_slice from stathz t in sched_rr_interval()
[all...]
/freebsd/tools/sched/
H A Dschedgraph.d114 …td_proc->p_comm, args[0]->td_name, args[0]->td_tid, args[0]->td_priority, `stathz ? `stathz : `hz);
H A Dschedgraph.py923 self.stathz = 0
1054 self.stathz = int(val)
1100 if (self.stathz != 0):
1101 return (self.timespan() / self.ticks[0]) * int(self.stathz)
/freebsd/usr.bin/systat/
H A Dextern.h49 extern int hz, stathz;
H A Dmain.c231 hertz = clkinfo.stathz; in main()
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c120 #define T2J(x) ((long)(((x) * 100ULL) / (stathz ? stathz : hz))) /* ticks to jiffies */
121 #define T2CS(x) ((unsigned long)(((x) * 100ULL) / (stathz ? stathz : hz))) /* ticks to centiseconds…
122 #define T2S(x) ((x) / (stathz ? stathz : hz)) /* ticks to seconds */
/freebsd/sys/arm64/linux/
H A Dlinux_sysvec.c625 stclohz = (stathz ? stathz : hz); in linux64_elf_modevent()
/freebsd/usr.bin/time/
H A Dtime.c226 return clockrate.stathz; in getstathz()
/freebsd/sys/sys/
H A Dkernel.h65 extern int stathz; /* statistics clock's frequency */
H A Dtime.h484 int stathz; /* statistics clock frequency */ member
/freebsd/sys/arm/allwinner/
H A Da10_timer.c
/freebsd/sys/amd64/linux/
H A Dlinux_sysvec.c926 stclohz = (stathz ? stathz : hz); in linux64_elf_modevent()
/freebsd/sys/i386/linux/
H A Dlinux_sysvec.c866 stclohz = (stathz ? stathz : hz); in linux_elf_modevent()
/freebsd/sys/amd64/linux32/
H A Dlinux32_sysvec.c1022 stclohz = (stathz ? stathz : hz); in linux_elf_modevent()
/freebsd/usr.sbin/pmc/
H A Dcmd_pmc_stat.c82 return clockrate.stathz; in getstathz()
/freebsd/sbin/sysctl/
H A Dsysctl.c674 ci->hz, ci->tick, ci->profhz, ci->stathz); in S_clockinfo()