Searched refs:nthreads (Results 1 - 2 of 2) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | sched_average.c | 113 int ncpus, nthreads, nshared; local 122 nthreads = sched_run_count - 1; 129 average_now = nthreads * LOAD_SCALE; 131 if (nthreads > ncpus) 132 factor_now = (ncpus * LOAD_SCALE) / (nthreads + 1); 134 factor_now = (ncpus - nthreads) * LOAD_SCALE; 143 if (nshared > nthreads) 144 nshared = nthreads; 172 sched_nrun = nthreads;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/ |
H A D | dtrace_glue.c | 935 taskq_create(const char *name, int nthreads, pri_t pri, int minalloc, argument 938 #pragma unused(name,nthreads,pri,minalloc,maxalloc,flags)
|
Completed in 28 milliseconds