Searched refs:kcountsize (Results 1 - 4 of 4) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.sbin/kgmon/
H A Dkgmon.c306 size_t kcountsize; local
321 h.ncnt = kvp->gpm.kcountsize + sizeof(h);
327 kcountsize = (size_t)kvp->gpm.kcountsize;
334 if ((tickbuf = malloc(kcountsize)) == NULL)
336 kcountsize);
339 kcountsize);
342 i = kcountsize;
346 if (i != kcountsize)
348 kcountsize,
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/gmon/
H A Dgmon.c134 p->kcountsize = p->textsize / HISTFRACTION;
144 cp = sbrk((intptr_t)(p->kcountsize + p->fromssize + p->tossize));
150 (void)memset(cp, 0, p->kcountsize + p->fromssize + p->tossize);
155 cp += (size_t)p->kcountsize;
162 if (p->kcountsize < o) {
164 s_scale = ((float)p->kcountsize / o ) * SCALE_1_TO_1;
166 u_long quot = o / p->kcountsize;
173 s_scale = 0x1000000 / (o / (p->kcountsize >> 8));
175 s_scale = 0x1000000 / ((o << 8) / p->kcountsize);
448 p->kcount, p->kcountsize);
[all...]
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dgmon.h124 u_long kcountsize; member in struct:gmonparam
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dsubr_prof.c80 p->kcountsize = p->textsize / HISTFRACTION;
89 cp = (char *)malloc(p->kcountsize + p->fromssize + p->tossize,
98 cp += p->kcountsize;
124 node.sysctl_size = gp->kcountsize;

Completed in 76 milliseconds