/external/libchrome/base/threading/ |
D | worker_pool_posix.cc | 86 PendingTask pending_task = pool_->WaitForTask(); in ThreadMain() local 87 if (pending_task.task.is_null()) in ThreadMain() 90 "src_file", pending_task.posted_from.file_name(), in ThreadMain() 91 "src_func", pending_task.posted_from.function_name()); in ThreadMain() 95 pending_task.task.Run(); in ThreadMain() 99 pending_task.birth_tally, pending_task.time_posted, stopwatch); in ThreadMain() 146 PendingTask pending_task(from_here, task); in PostTask() local 147 AddTask(&pending_task); in PostTask() 150 void PosixDynamicThreadPool::AddTask(PendingTask* pending_task) { in AddTask() argument 155 pending_tasks_.push(*pending_task); in AddTask() [all …]
|
D | worker_pool_posix.h | 75 void AddTask(PendingTask* pending_task);
|
/external/libchrome/base/debug/ |
D | task_annotator.cc | 22 const PendingTask& pending_task) { in DidQueueTask() argument 25 TRACE_ID_MANGLE(GetTaskTraceID(pending_task)), in DidQueueTask() 30 const PendingTask& pending_task) { in RunTask() argument 34 stopwatch.StartTime() - pending_task.EffectiveTimePosted(); in RunTask() 38 TRACE_ID_MANGLE(GetTaskTraceID(pending_task)), in RunTask() 48 const void* program_counter = pending_task.posted_from.program_counter(); in RunTask() 51 pending_task.task.Run(); in RunTask() 55 pending_task, stopwatch); in RunTask()
|
D | task_annotator_unittest.cc | 22 PendingTask pending_task(FROM_HERE, Bind(&TestTask, &result)); in TEST() local 25 annotator.DidQueueTask("TaskAnnotatorTest::Queue", pending_task); in TEST() 27 annotator.RunTask("TaskAnnotatorTest::Queue", pending_task); in TEST()
|
D | task_annotator.h | 27 const PendingTask& pending_task); 31 void RunTask(const char* queue_function, const PendingTask& pending_task);
|
/external/libchrome/base/message_loop/ |
D | message_loop.cc | 459 PendingTask pending_task = deferred_non_nestable_work_queue_.front(); in ProcessNextDelayedNonNestableTask() local 462 RunTask(pending_task); in ProcessNextDelayedNonNestableTask() 466 void MessageLoop::RunTask(const PendingTask& pending_task) { in RunTask() argument 470 if (pending_task.is_high_res) { in RunTask() 481 TRACE_TASK_EXECUTION("MessageLoop::RunTask", pending_task); in RunTask() 484 WillProcessTask(pending_task)); in RunTask() 485 task_annotator_.RunTask("MessageLoop::PostTask", pending_task); in RunTask() 487 DidProcessTask(pending_task)); in RunTask() 492 bool MessageLoop::DeferOrRunPendingTask(const PendingTask& pending_task) { in DeferOrRunPendingTask() argument 493 if (pending_task.nestable || run_loop_->run_depth_ == 1) { in DeferOrRunPendingTask() [all …]
|
D | incoming_task_queue.cc | 64 PendingTask pending_task( in AddToIncomingQueue() local 74 pending_task.is_high_res = true; in AddToIncomingQueue() 77 return PostPendingTask(&pending_task); in AddToIncomingQueue() 138 bool IncomingTaskQueue::PostPendingTask(PendingTask* pending_task) { in PostPendingTask() argument 147 pending_task->task.Reset(); in PostPendingTask() 154 pending_task->sequence_num = next_sequence_num_++; in PostPendingTask() 157 *pending_task); in PostPendingTask() 160 incoming_queue_.push(*pending_task); in PostPendingTask() 161 pending_task->task.Reset(); in PostPendingTask()
|
D | message_loop.h | 357 virtual void WillProcessTask(const PendingTask& pending_task) = 0; 360 virtual void DidProcessTask(const PendingTask& pending_task) = 0; 396 void RunTask(const PendingTask& pending_task); 445 bool DeferOrRunPendingTask(const PendingTask& pending_task); 448 void AddToDelayedWorkQueue(const PendingTask& pending_task);
|
D | incoming_task_queue.h | 72 bool PostPendingTask(PendingTask* pending_task);
|
D | message_loop_unittest.cc | 676 void WillProcessTask(const PendingTask& pending_task) override { in WillProcessTask() argument 682 void DidProcessTask(const PendingTask& pending_task) override { in DidProcessTask() argument
|
/external/libchrome/base/ |
D | tracked_objects_unittest.cc | 191 base::TrackingInfo pending_task(location, kBogusBirthTime); in TEST_F() local 200 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F() 455 base::TrackingInfo pending_task(location, kDelayedStartTime); in TEST_F() local 456 pending_task.time_posted = kTimePosted; // Overwrite implied Now(). in TEST_F() 466 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F() 484 base::TrackingInfo pending_task(location, kDelayedStartTime); in TEST_F() local 485 pending_task.time_posted = kTimePosted; // Overwrite implied Now(). in TEST_F() 495 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F() 585 base::TrackingInfo pending_task(location, base::TimeTicks()); in TEST_F() local 593 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); in TEST_F() [all …]
|
D | base.gypi | 444 'pending_task.cc', 445 'pending_task.h',
|
D | BUILD.gn | 543 "pending_task.cc", 544 "pending_task.h",
|
/external/libchrome/ |
D | SConstruct | 99 pending_task.cc
|
D | Android.mk | 105 base/pending_task.cc \
|