/third_party/node/deps/v8/src/libplatform/ |
H A D | default-platform.cc | 36 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 D | default-worker-threads-task-runner.cc | 13 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 D | default-worker-threads-task-runner.h | 25 DefaultWorkerThreadsTaskRunner(uint32_t thread_pool_size,
|
H A D | default-platform.h | 32 int thread_pool_size = 0,
|
/third_party/node/src/ |
H A D | node_platform.cc | 48 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 D | node_v8_platform-inl.h | 88 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 D | node_platform.h | 118 explicit WorkerThreadsTaskRunner(int thread_pool_size); 140 NodePlatform(int thread_pool_size,
|
H A D | node.h | 458 int thread_pool_size, 693 int thread_pool_size,
|
/third_party/node/deps/v8/include/cppgc/ |
H A D | default-platform.h | 24 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 D | default-platform.h | 24 int thread_pool_size = 0, in DefaultPlatform() 28 thread_pool_size, idle_task_support,
|
/third_party/node/src/api/ |
H A D | environment.cc | 531 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 D | libplatform.h | 29 * 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 D | libplatform.h | 29 * 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 D | d8.h | 454 DisallowReassignment<int> thread_pool_size = {"thread-pool-size", 0}; member in v8::ShellOptions
|
H A D | d8.cc | 4570 options.thread_pool_size = atoi(argv[i] + 19); in SetOptions() 5345 options.thread_pool_size, v8::platform::IdleTaskSupport::kEnabled, in Main()
|