Searched refs:thread_pool_size (Results 1 – 2 of 2) sorted by relevance
38 void DefaultPlatform::SetThreadPoolSize(int thread_pool_size) { in SetThreadPoolSize() argument40 ASSERT(thread_pool_size >= 0); in SetThreadPoolSize()41 if (thread_pool_size < 1) in SetThreadPoolSize()42 thread_pool_size = OS::NumberOfProcessorsOnline(); in SetThreadPoolSize()44 std::max(std::min(thread_pool_size, kMaxThreadPoolSize), 1); in SetThreadPoolSize()
27 void SetThreadPoolSize(int thread_pool_size);