Home
last modified time | relevance | path

Searched refs:max_threads (Results 1 – 2 of 2) sorted by relevance

/tools/perf/bench/
Dsynthesize.c25 static unsigned int max_threads = UINT_MAX; variable
36 OPT_UINTEGER('M', "max-threads", &max_threads,
212 if (max_threads == UINT_MAX) in run_multi_threaded()
213 max_threads = sysconf(_SC_NPROCESSORS_ONLN); in run_multi_threaded()
220 nr_threads_synthesize <= max_threads; in run_multi_threaded()
/tools/perf/util/
Dthread_map.c78 int max_threads = 32, items, i; in __thread_map__new_all_cpus() local
81 struct perf_thread_map *threads = thread_map__alloc(max_threads); in __thread_map__new_all_cpus()
116 while (threads->nr + items >= max_threads) { in __thread_map__new_all_cpus()
117 max_threads *= 2; in __thread_map__new_all_cpus()
124 tmp = perf_thread_map__realloc(threads, max_threads); in __thread_map__new_all_cpus()