Home
last modified time | relevance | path

Searched refs:ncpu (Results 1 – 3 of 3) sorted by relevance

/tools/perf/util/
Dsmt.c13 int ncpu; in smt_on() local
21 ncpu = sysconf(_SC_NPROCESSORS_CONF); in smt_on()
22 for (cpu = 0; cpu < ncpu; cpu++) { in smt_on()
/tools/memory-model/scripts/
Drunlitmushist.sh66 print "runtest " $2 >> t "/" NR % ncpu ".sh";
70 for (i = 0; i < ncpu; i++) {
/tools/perf/
Dbuiltin-sched.c278 u32 ncpu; /* highest cpu slot allocated */ member
1876 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() argument
2221 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()