HomeSort by relevance Sort by last modified time
    Searched full:num_tasks (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/native_client_sdk/src/libraries/sdk_util/
thread_pool.h 21 // them num_tasks of work at a time. Each call
28 void Dispatch(int num_tasks, WorkFunction work, void* data);
34 void DispatchMany(int num_tasks, WorkFunction work, void* data);
35 void DispatchHere(int num_tasks, WorkFunction work, void* data);
thread_pool.cc 107 void ThreadPool::DispatchMany(int num_tasks, WorkFunction work, void* data) {
109 Setup(num_tasks, work, data);
124 void ThreadPool::DispatchHere(int num_tasks, WorkFunction work, void* data) {
125 for (int i = 0; i < num_tasks; i++)
132 void ThreadPool::Dispatch(int num_tasks, WorkFunction work, void* data) {
134 DispatchMany(num_tasks, work, data);
136 DispatchHere(num_tasks, work, data);
  /art/runtime/
thread_pool_test.cc 65 static const int32_t num_tasks = num_threads * 4; local
66 for (int32_t i = 0; i < num_tasks; ++i) {
73 EXPECT_EQ(num_tasks, count.LoadSequentiallyConsistent());
80 static const int32_t num_tasks = num_threads * 4; local
81 for (int32_t i = 0; i < num_tasks; ++i) {
98 while (count.LoadSequentiallyConsistent() != num_tasks &&
barrier_test.cc 117 const int32_t num_tasks = num_threads * 4; local
119 for (int32_t i = 0; i < num_tasks; ++i) {
123 const int32_t expected_total_tasks = num_sub_tasks * num_tasks;
  /external/chromium_org/cc/resources/
task_graph_runner_perftest.cc 62 int num_tasks,
68 CreateTasks(num_tasks, &tasks);
91 int num_tasks,
97 CreateTasks(num_tasks, &tasks);
130 int num_tasks,
138 CreateTasks(num_tasks, &tasks[i]);
176 int num_tasks,
182 CreateTasks(num_tasks, &tasks);
217 void CreateTasks(int num_tasks, PerfTaskImpl::Vector* tasks) {
218 for (int i = 0; i < num_tasks; ++i
    [all...]
  /external/chromium_org/base/message_loop/
message_loop_test.cc 125 int num_tasks = 1; local
129 FROM_HERE, Bind(&RecordRunTimeFunc, &run_time, &num_tasks),
136 EXPECT_EQ(0, num_tasks);
145 int num_tasks = 2; local
150 Bind(&RecordRunTimeFunc, &run_time1, &num_tasks),
156 Bind(&RecordRunTimeFunc, &run_time2, &num_tasks),
160 EXPECT_EQ(0, num_tasks);
179 int num_tasks = 2;
184 Bind(&RecordRunTimeFunc, &run_time1, &num_tasks), kDelay);
187 Bind(&RecordRunTimeFunc, &run_time2, &num_tasks), kDelay)
    [all...]
message_loop_unittest.cc 109 // By setting num_tasks to 1, we ensure that the first task to run causes the
111 int num_tasks = 1; local
119 Bind(&RecordRunTimeFunc, &run_time, &num_tasks),
131 EXPECT_EQ(1, num_tasks);
662 explicit DummyTaskObserver(int num_tasks)
665 num_tasks_(num_tasks) {}
    [all...]
  /external/chromium_org/base/threading/
worker_pool_posix_unittest.cc 109 void WaitForTasksToStart(int num_tasks) {
111 while (num_waiting_to_start_ < num_tasks) {
sequenced_worker_pool_unittest.cc 132 std::vector<int> WaitUntilTasksComplete(size_t num_tasks) {
136 while (complete_sequence_.size() < num_tasks)
    [all...]
  /external/chromium_org/v8/src/
isolate.cc 2285 int num_tasks = pending_microtask_count(); local
2314 int num_tasks = pending_microtask_count(); local
    [all...]

Completed in 2993 milliseconds