Home
last modified time | relevance | path

Searched refs:thread_pool_size (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/libplatform/
Ddefault-platform.cc20 v8::Platform* CreateDefaultPlatform(int thread_pool_size) { in CreateDefaultPlatform() argument
22 platform->SetThreadPoolSize(thread_pool_size); in CreateDefaultPlatform()
65 void DefaultPlatform::SetThreadPoolSize(int thread_pool_size) { in SetThreadPoolSize() argument
67 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()
Ddefault-platform.h30 void SetThreadPoolSize(int thread_pool_size);
/external/v8/include/libplatform/
Dlibplatform.h21 v8::Platform* CreateDefaultPlatform(int thread_pool_size = 0);