Searched refs:HISTFRACTION (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/
H A Dprofile-mk.c113 lowpc = ROUNDDOWN((prof_uptrint_t)&pstart[0], HISTFRACTION*sizeof(LHISTCOUNTER));
114 highpc = ROUNDUP((prof_uptrint_t)&etext[0], HISTFRACTION*sizeof(LHISTCOUNTER));
116 monsize = (textsize / HISTFRACTION) * sizeof(LHISTCOUNTER);
140 pv->profil_info.scale = 0x10000 / HISTFRACTION;
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dgmon.h106 #define HISTFRACTION 2 macro
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dmach_clock.c167 LPROF_CNT_INC(ptr[s / HISTFRACTION]);
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/i386/
H A Dprofile-md.h86 * Set HISTFRACTION to 4, so new lprofil call takes the same space.
256 #define HISTFRACTION 4 macro
262 #define HASHFRACTION HISTFRACTION
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dsubr_prof.c121 p->lowpc = ROUNDDOWN(p->lowpc, HISTFRACTION * sizeof(HISTCOUNTER));
122 p->highpc = ROUNDUP(p->highpc, HISTFRACTION * sizeof(HISTCOUNTER));
126 p->kcountsize = p->textsize / HISTFRACTION;

Completed in 45 milliseconds