Searched refs:max_threads (Results 1 – 2 of 2) sorted by relevance
25 static unsigned int max_threads = UINT_MAX; variable36 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()
78 int max_threads = 32, items, i; in __thread_map__new_all_cpus() local81 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()