Searched refs:thread_pool_size (Results 1 – 3 of 3) sorted by relevance
20 v8::Platform* CreateDefaultPlatform(int thread_pool_size) { in CreateDefaultPlatform() argument22 platform->SetThreadPoolSize(thread_pool_size); in CreateDefaultPlatform()65 void DefaultPlatform::SetThreadPoolSize(int thread_pool_size) { in SetThreadPoolSize() argument67 DCHECK(thread_pool_size >= 0); in SetThreadPoolSize()68 if (thread_pool_size < 1) { in SetThreadPoolSize()69 thread_pool_size = base::SysInfo::NumberOfProcessors(); in SetThreadPoolSize()72 std::max(std::min(thread_pool_size, kMaxThreadPoolSize), 1); in SetThreadPoolSize()
30 void SetThreadPoolSize(int thread_pool_size);
21 v8::Platform* CreateDefaultPlatform(int thread_pool_size = 0);