/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/threading/ |
D | worker_pool_posix.cc | 86 PendingTask pending_task = pool_->WaitForTask(); in ThreadMain() local 87 if (pending_task.task.is_null()) in ThreadMain() 89 TRACE_TASK_EXECUTION("WorkerThread::ThreadMain::Run", pending_task); in ThreadMain() 93 pending_task.task.Run(); in ThreadMain() 97 pending_task.birth_tally, pending_task.time_posted, stopwatch); in ThreadMain() 144 PendingTask pending_task(from_here, task); in PostTask() local 145 AddTask(&pending_task); in PostTask() 148 void PosixDynamicThreadPool::AddTask(PendingTask* pending_task) { in AddTask() argument 153 pending_tasks_.push(std::move(*pending_task)); in AddTask() 188 PendingTask pending_task = std::move(pending_tasks_.front()); in WaitForTask() local [all …]
|
D | worker_pool_posix.h | 75 void AddTask(PendingTask* pending_task);
|
/external/libchrome/base/message_loop/ |
D | message_loop.cc | 467 PendingTask pending_task = in ProcessNextDelayedNonNestableTask() local 471 RunTask(pending_task); in ProcessNextDelayedNonNestableTask() 475 void MessageLoop::RunTask(const PendingTask& pending_task) { in RunTask() argument 479 if (pending_task.is_high_res) { in RunTask() 490 TRACE_TASK_EXECUTION("MessageLoop::RunTask", pending_task); in RunTask() 493 WillProcessTask(pending_task)); in RunTask() 494 task_annotator_.RunTask("MessageLoop::PostTask", pending_task); in RunTask() 496 DidProcessTask(pending_task)); in RunTask() 501 bool MessageLoop::DeferOrRunPendingTask(PendingTask pending_task) { in DeferOrRunPendingTask() argument 502 if (pending_task.nestable || run_loop_->run_depth_ == 1) { in DeferOrRunPendingTask() [all …]
|
D | incoming_task_queue.cc | 71 PendingTask pending_task( in AddToIncomingQueue() local 80 pending_task.is_high_res = true; in AddToIncomingQueue() 83 return PostPendingTask(&pending_task); in AddToIncomingQueue() 143 bool IncomingTaskQueue::PostPendingTask(PendingTask* pending_task) { in PostPendingTask() argument 152 pending_task->task.Reset(); in PostPendingTask() 161 if (pending_task->is_high_res) in PostPendingTask() 168 pending_task->sequence_num = next_sequence_num_++; in PostPendingTask() 171 *pending_task); in PostPendingTask() 174 incoming_queue_.push(std::move(*pending_task)); in PostPendingTask()
|
D | message_loop.h | 362 virtual void WillProcessTask(const PendingTask& pending_task) = 0; 365 virtual void DidProcessTask(const PendingTask& pending_task) = 0; 391 void RunTask(const PendingTask& pending_task); 453 bool DeferOrRunPendingTask(PendingTask pending_task); 456 void AddToDelayedWorkQueue(PendingTask pending_task);
|
D | incoming_task_queue.h | 70 bool PostPendingTask(PendingTask* pending_task);
|
D | message_loop_unittest.cc | 613 void WillProcessTask(const PendingTask& pending_task) override { in WillProcessTask() argument 619 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 | 453 'pending_task.cc', 454 'pending_task.h',
|
D | BUILD.gn | 572 "pending_task.cc", 573 "pending_task.h",
|
/external/libchrome/ |
D | SConstruct | 106 pending_task.cc
|
D | Android.bp | 140 "base/pending_task.cc",
|