Searched refs:ncpu (Results 1 – 3 of 3) sorted by relevance
13 int ncpu; in smt_on() local21 ncpu = sysconf(_SC_NPROCESSORS_CONF); in smt_on()22 for (cpu = 0; cpu < ncpu; cpu++) { in smt_on()
66 print "runtest " $2 >> t "/" NR % ncpu ".sh";70 for (i = 0; i < ncpu; i++) {
278 u32 ncpu; /* highest cpu slot allocated */ member1876 if ((cpu >= r->ncpu) || (r->last_time == NULL)) { in evsel__save_time()1885 for (i = r->ncpu; i < n; ++i) in evsel__save_time()1888 r->ncpu = n; in evsel__save_time()1899 if ((r == NULL) || (r->last_time == NULL) || (cpu >= r->ncpu)) in evsel__get_time()2217 static int init_idle_threads(int ncpu) in init_idle_threads() argument2221 idle_threads = zalloc(ncpu * sizeof(struct thread *)); in init_idle_threads()2225 idle_max_cpu = ncpu; in init_idle_threads()2228 for (i = 0; i < ncpu; ++i) { in init_idle_threads()