Home
last modified time | relevance | path

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

/external/chromium_org/v8/src/libplatform/
Ddefault-platform.cc19 v8::Platform* CreateDefaultPlatform(int thread_pool_size) { in CreateDefaultPlatform() argument
21 platform->SetThreadPoolSize(thread_pool_size); in CreateDefaultPlatform()
59 void DefaultPlatform::SetThreadPoolSize(int thread_pool_size) { in SetThreadPoolSize() argument
61 DCHECK(thread_pool_size >= 0); in SetThreadPoolSize()
62 if (thread_pool_size < 1) { in SetThreadPoolSize()
63 thread_pool_size = base::SysInfo::NumberOfProcessors(); in SetThreadPoolSize()
66 std::max(std::min(thread_pool_size, kMaxThreadPoolSize), 1); in SetThreadPoolSize()
Ddefault-platform.h29 void SetThreadPoolSize(int thread_pool_size);
/external/chromium_org/v8/include/libplatform/
Dlibplatform.h21 v8::Platform* CreateDefaultPlatform(int thread_pool_size = 0);