Searched refs:pending_task (Results 1 - 11 of 11) sorted by relevance
/external/libchrome/base/debug/ |
H A D | task_annotator.cc | 8 #include "base/pending_task.h" 22 const PendingTask& pending_task) { 25 TRACE_ID_MANGLE(GetTaskTraceID(pending_task)), 30 const PendingTask& pending_task) { 34 stopwatch.StartTime() - pending_task.EffectiveTimePosted(); 38 TRACE_ID_MANGLE(GetTaskTraceID(pending_task)), 48 const void* program_counter = pending_task.posted_from.program_counter(); 51 pending_task.task.Run(); 55 pending_task, stopwatch); 21 DidQueueTask(const char* queue_function, const PendingTask& pending_task) argument 29 RunTask(const char* queue_function, const PendingTask& pending_task) argument
|
H A D | task_annotator_unittest.cc | 7 #include "base/pending_task.h" 22 PendingTask pending_task(FROM_HERE, Bind(&TestTask, &result)); 25 annotator.DidQueueTask("TaskAnnotatorTest::Queue", pending_task); 27 annotator.RunTask("TaskAnnotatorTest::Queue", pending_task);
|
H A 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/ |
H A D | incoming_task_queue.cc | 71 PendingTask pending_task( 80 pending_task.is_high_res = true; 83 return PostPendingTask(&pending_task); 143 bool IncomingTaskQueue::PostPendingTask(PendingTask* pending_task) { argument 152 pending_task->task.Reset(); 161 if (pending_task->is_high_res) 168 pending_task->sequence_num = next_sequence_num_++; 171 *pending_task); 174 incoming_queue_.push(std::move(*pending_task));
|
H A D | message_loop.cc | 467 PendingTask pending_task = 471 RunTask(pending_task); 475 void MessageLoop::RunTask(const PendingTask& pending_task) { argument 479 if (pending_task.is_high_res) { 490 TRACE_TASK_EXECUTION("MessageLoop::RunTask", pending_task); 493 WillProcessTask(pending_task)); 494 task_annotator_.RunTask("MessageLoop::PostTask", pending_task); 496 DidProcessTask(pending_task)); 501 bool MessageLoop::DeferOrRunPendingTask(PendingTask pending_task) { argument 502 if (pending_task 515 AddToDelayedWorkQueue(PendingTask pending_task) argument 523 PendingTask pending_task = std::move(work_queue_.front()); local 617 PendingTask pending_task = std::move(work_queue_.front()); local 659 PendingTask pending_task = local [all...] |
H A D | incoming_task_queue.h | 11 #include "base/pending_task.h" 67 // |pending_task|, but this function will reset the value of 68 // |pending_task->task|. This is needed to ensure that the posting call stack 69 // does not retain |pending_task->task| beyond this function call. 70 bool PostPendingTask(PendingTask* pending_task);
|
H A D | message_loop.h | 24 #include "base/pending_task.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); 451 // Calls RunTask or queues the pending_task on the deferred task list if it 453 bool DeferOrRunPendingTask(PendingTask pending_task); 456 void AddToDelayedWorkQueue(PendingTask pending_task);
|
H A D | message_loop_unittest.cc | 18 #include "base/pending_task.h" 613 void WillProcessTask(const PendingTask& pending_task) override { 619 void DidProcessTask(const PendingTask& pending_task) override {
|
/external/libchrome/base/threading/ |
H A D | worker_pool_posix.cc | 86 PendingTask pending_task = pool_->WaitForTask(); local 87 if (pending_task.task.is_null()) 89 TRACE_TASK_EXECUTION("WorkerThread::ThreadMain::Run", pending_task); 93 pending_task.task.Run(); 97 pending_task.birth_tally, pending_task.time_posted, stopwatch); 144 PendingTask pending_task(from_here, task); 145 AddTask(&pending_task); 148 void PosixDynamicThreadPool::AddTask(PendingTask* pending_task) { argument 153 pending_tasks_.push(std::move(*pending_task)); 188 PendingTask pending_task = std::move(pending_tasks_.front()); local [all...] |
H A D | worker_pool_posix.h | 35 #include "base/pending_task.h" 73 // Adds pending_task to the thread pool. This function will clear 74 // |pending_task->task|. 75 void AddTask(PendingTask* pending_task);
|
/external/libchrome/base/ |
H A D | tracked_objects_unittest.cc | 191 base::TrackingInfo pending_task(location, kBogusBirthTime); 200 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); 455 base::TrackingInfo pending_task(location, kDelayedStartTime); 456 pending_task.time_posted = kTimePosted; // Overwrite implied Now(). 466 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); 484 base::TrackingInfo pending_task(location, kDelayedStartTime); 485 pending_task.time_posted = kTimePosted; // Overwrite implied Now(). 495 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatch); 585 base::TrackingInfo pending_task(location, base::TimeTicks()); 593 ThreadData::TallyRunOnNamedThreadIfTracking(pending_task, stopwatc [all...] |
Completed in 923 milliseconds