Home
last modified time | relevance | path

Searched refs:pending_task (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/base/debug/
Dtask_annotator.cc22 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()
Dtask_annotator_unittest.cc22 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()
Dtask_annotator.h27 const PendingTask& pending_task);
31 void RunTask(const char* queue_function, const PendingTask& pending_task);
/external/libchrome/base/threading/
Dworker_pool_posix.cc86 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 …]
Dworker_pool_posix.h75 void AddTask(PendingTask* pending_task);
/external/libchrome/base/message_loop/
Dmessage_loop.cc467 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 …]
Dincoming_task_queue.cc71 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()
Dmessage_loop.h362 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);
Dincoming_task_queue.h70 bool PostPendingTask(PendingTask* pending_task);
Dmessage_loop_unittest.cc613 void WillProcessTask(const PendingTask& pending_task) override { in WillProcessTask() argument
619 void DidProcessTask(const PendingTask& pending_task) override { in DidProcessTask() argument
/external/libchrome/base/
Dtracked_objects_unittest.cc191 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 …]
Dbase.gypi453 'pending_task.cc',
454 'pending_task.h',
DBUILD.gn572 "pending_task.cc",
573 "pending_task.h",
/external/libchrome/
DSConstruct106 pending_task.cc
DAndroid.bp140 "base/pending_task.cc",