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,223 if (max_threads == UINT_MAX) in run_multi_threaded()224 max_threads = sysconf(_SC_NPROCESSORS_ONLN); in run_multi_threaded()231 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()107 while (threads->nr + items >= max_threads) { in thread_map__new_all_cpus()108 max_threads *= 2; in thread_map__new_all_cpus()115 tmp = perf_thread_map__realloc(threads, max_threads); in thread_map__new_all_cpus()
Completed in 5 milliseconds