Home
last modified time | relevance | path

Searched refs:thread_pool_size (Results 1 - 15 of 15) sorted by relevance

/third_party/node/deps/v8/src/libplatform/
H A Ddefault-platform.cc36 int GetActualThreadPoolSize(int thread_pool_size) { in GetActualThreadPoolSize() argument
37 DCHECK_GE(thread_pool_size, 0); in GetActualThreadPoolSize()
38 if (thread_pool_size < 1) { in GetActualThreadPoolSize()
39 thread_pool_size = base::SysInfo::NumberOfProcessors() - 1; in GetActualThreadPoolSize()
41 return std::max(std::min(thread_pool_size, kMaxThreadPoolSize), 1); in GetActualThreadPoolSize()
47 int thread_pool_size, IdleTaskSupport idle_task_support, in NewDefaultPlatform()
53 thread_pool_size = GetActualThreadPoolSize(thread_pool_size); in NewDefaultPlatform()
55 thread_pool_size, idle_task_support, std::move(tracing_controller)); in NewDefaultPlatform()
95 int thread_pool_size, IdleTaskSuppor in DefaultPlatform()
46 NewDefaultPlatform( int thread_pool_size, IdleTaskSupport idle_task_support, InProcessStackDumping in_process_stack_dumping, std::unique_ptr<v8::TracingController> tracing_controller) NewDefaultPlatform() argument
94 DefaultPlatform( int thread_pool_size, IdleTaskSupport idle_task_support, std::unique_ptr<v8::TracingController> tracing_controller) DefaultPlatform() argument
[all...]
H A Ddefault-worker-threads-task-runner.cc13 uint32_t thread_pool_size, TimeFunction time_function) in DefaultWorkerThreadsTaskRunner()
15 for (uint32_t i = 0; i < thread_pool_size; ++i) { in DefaultWorkerThreadsTaskRunner()
12 DefaultWorkerThreadsTaskRunner( uint32_t thread_pool_size, TimeFunction time_function) DefaultWorkerThreadsTaskRunner() argument
H A Ddefault-worker-threads-task-runner.h25 DefaultWorkerThreadsTaskRunner(uint32_t thread_pool_size,
H A Ddefault-platform.h32 int thread_pool_size = 0,
/third_party/node/src/
H A Dnode_platform.cc48 static int GetActualThreadPoolSize(int thread_pool_size) { in GetActualThreadPoolSize() argument
49 if (thread_pool_size < 1) { in GetActualThreadPoolSize()
50 thread_pool_size = uv_available_parallelism() - 1; in GetActualThreadPoolSize()
52 return std::max(thread_pool_size, 1); in GetActualThreadPoolSize()
173 WorkerThreadsTaskRunner::WorkerThreadsTaskRunner(int thread_pool_size) { in WorkerThreadsTaskRunner() argument
178 int pending_platform_workers = thread_pool_size; in WorkerThreadsTaskRunner()
184 for (int i = 0; i < thread_pool_size; i++) { in WorkerThreadsTaskRunner()
333 NodePlatform::NodePlatform(int thread_pool_size, in NodePlatform() argument
351 thread_pool_size = GetActualThreadPoolSize(thread_pool_size); in NodePlatform()
[all...]
H A Dnode_v8_platform-inl.h88 inline void Initialize(int thread_pool_size) { in Initialize()
104 platform_ = new NodePlatform(thread_pool_size, controller); in Initialize()
167 inline void Initialize(int thread_pool_size) {} in Initialize()
H A Dnode_platform.h118 explicit WorkerThreadsTaskRunner(int thread_pool_size);
140 NodePlatform(int thread_pool_size,
H A Dnode.h458 int thread_pool_size,
693 int thread_pool_size,
/third_party/node/deps/v8/include/cppgc/
H A Ddefault-platform.h24 int thread_pool_size = 0, in DefaultPlatform()
28 thread_pool_size, idle_task_support,
/third_party/node/deps/v8/include/v8-include/cppgc/
H A Ddefault-platform.h24 int thread_pool_size = 0, in DefaultPlatform()
28 thread_pool_size, idle_task_support,
/third_party/node/src/api/
H A Denvironment.cc531 int thread_pool_size, in CreatePlatform()
534 thread_pool_size, in CreatePlatform()
539 int thread_pool_size, in CreatePlatform()
541 return MultiIsolatePlatform::Create(thread_pool_size, in CreatePlatform()
551 int thread_pool_size, in Create()
554 return std::make_unique<NodePlatform>(thread_pool_size, in Create()
530 CreatePlatform( int thread_pool_size, node::tracing::TracingController* tracing_controller) CreatePlatform() argument
538 CreatePlatform( int thread_pool_size, v8::TracingController* tracing_controller) CreatePlatform() argument
550 Create( int thread_pool_size, v8::TracingController* tracing_controller, v8::PageAllocator* page_allocator) Create() argument
/third_party/node/deps/v8/include/v8-include/libplatform/
H A Dlibplatform.h29 * The caller will take ownership of the returned pointer. |thread_pool_size|
40 int thread_pool_size = 0,
/third_party/node/deps/v8/include/libplatform/
H A Dlibplatform.h29 * The caller will take ownership of the returned pointer. |thread_pool_size|
40 int thread_pool_size = 0,
/third_party/node/deps/v8/src/d8/
H A Dd8.h454 DisallowReassignment<int> thread_pool_size = {"thread-pool-size", 0}; member in v8::ShellOptions
H A Dd8.cc4570 options.thread_pool_size = atoi(argv[i] + 19); in SetOptions()
5345 options.thread_pool_size, v8::platform::IdleTaskSupport::kEnabled, in Main()

Completed in 30 milliseconds