Home
last modified time | relevance | path

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

/external/chromium_org/v8/src/libplatform/
Ddefault-platform.cc38 void DefaultPlatform::SetThreadPoolSize(int thread_pool_size) { in SetThreadPoolSize() argument
40 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()
Ddefault-platform.h27 void SetThreadPoolSize(int thread_pool_size);