Searched refs:stathz (Results 1 – 19 of 19) sorted by relevance
/freebsd/sys/kern/ |
H A D | kern_clock.c | 369 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 D | kern_clocksource.c | 430 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 D | sched_4bsd.c | 126 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 D | sched_ule.c | 193 #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 D | schedgraph.d | 114 …td_proc->p_comm, args[0]->td_name, args[0]->td_tid, args[0]->td_priority, `stathz ? `stathz : `hz);
|
H A D | schedgraph.py | 923 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 D | extern.h | 49 extern int hz, stathz;
|
H A D | main.c | 231 hertz = clkinfo.stathz; in main()
|
/freebsd/sys/compat/linprocfs/ |
H A D | linprocfs.c | 120 #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 D | linux_sysvec.c | 625 stclohz = (stathz ? stathz : hz); in linux64_elf_modevent()
|
/freebsd/usr.bin/time/ |
H A D | time.c | 226 return clockrate.stathz; in getstathz()
|
/freebsd/sys/sys/ |
H A D | kernel.h | 65 extern int stathz; /* statistics clock's frequency */
|
H A D | time.h | 484 int stathz; /* statistics clock frequency */ member
|
/freebsd/sys/arm/allwinner/ |
H A D | a10_timer.c |
|
/freebsd/sys/amd64/linux/ |
H A D | linux_sysvec.c | 926 stclohz = (stathz ? stathz : hz); in linux64_elf_modevent()
|
/freebsd/sys/i386/linux/ |
H A D | linux_sysvec.c | 866 stclohz = (stathz ? stathz : hz); in linux_elf_modevent()
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_sysvec.c | 1022 stclohz = (stathz ? stathz : hz); in linux_elf_modevent()
|
/freebsd/usr.sbin/pmc/ |
H A D | cmd_pmc_stat.c | 82 return clockrate.stathz; in getstathz()
|
/freebsd/sbin/sysctl/ |
H A D | sysctl.c | 674 ci->hz, ci->tick, ci->profhz, ci->stathz); in S_clockinfo()
|