Home
last modified time | relevance | path

Searched refs:task_timing (Results 1 – 10 of 10) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl.cc441 executing_task->task_timing.RecordTaskStart(time_before_task); in NotifyWillProcessTask()
471 observer.WillProcessTask(executing_task->task_timing.start_time()); in NotifyWillProcessTask()
478 executing_task->task_timing); in NotifyWillProcessTask()
487 executing_task->task_timing.RecordTaskEnd(time_after_task); in NotifyDidProcessTask()
489 const TaskQueue::TaskTiming& task_timing = executing_task->task_timing; in NotifyDidProcessTask() local
494 if (task_timing.has_wall_time() && main_thread_only().nesting_depth == 0) { in NotifyDidProcessTask()
498 observer.DidProcessTask(task_timing.start_time(), task_timing.end_time()); in NotifyDidProcessTask()
519 if (task_timing.has_wall_time()) in NotifyDidProcessTask()
521 task_timing); in NotifyDidProcessTask()
525 if (task_timing.has_wall_time() && in NotifyDidProcessTask()
[all …]
Dsequence_manager_impl.h176 TaskQueue::TaskTiming task_timing) in ExecutingTask()
179 task_timing(task_timing) {} in ExecutingTask()
183 TaskQueue::TaskTiming task_timing; member
Dtask_queue_impl.h297 const TaskQueue::TaskTiming& task_timing);
300 const TaskQueue::TaskTiming& task_timing);
Dtask_queue_impl.cc965 const TaskQueue::TaskTiming& task_timing) { in OnTaskStarted() argument
967 main_thread_only().on_task_started_handler.Run(task, task_timing); in OnTaskStarted()
976 const TaskQueue::TaskTiming& task_timing) { in OnTaskCompleted() argument
978 main_thread_only().on_task_completed_handler.Run(task, task_timing); in OnTaskCompleted()
Dsequence_manager_impl_unittest.cc2894 const TaskQueue::TaskTiming& task_timing) { ++(*counter); }, in SetOnTaskHandlers() argument
2898 const TaskQueue::TaskTiming& task_timing) { ++(*counter); }, in SetOnTaskHandlers() argument
/external/cronet/base/task/sequence_manager/
Dsequence_manager_impl.cc837 executing_task->task_timing.RecordTaskStart(time_before_task); in NotifyWillProcessTask()
869 observer.WillProcessTask(executing_task->task_timing.start_time()); in NotifyWillProcessTask()
876 executing_task->task_timing); in NotifyWillProcessTask()
887 TaskQueue::TaskTiming& task_timing = executing_task->task_timing; in NotifyDidProcessTask() local
892 if (task_timing.has_wall_time()) { in NotifyDidProcessTask()
894 executing_task->pending_task, &task_timing, time_after_task); in NotifyDidProcessTask()
899 task_timing.state() != TaskQueue::TaskTiming::State::NotStarted; in NotifyDidProcessTask()
904 task_timing.RecordTaskEnd(time_after_task); in NotifyDidProcessTask()
907 if (has_valid_start && task_timing.has_wall_time() && in NotifyDidProcessTask()
912 observer.DidProcessTask(task_timing.start_time(), task_timing.end_time()); in NotifyDidProcessTask()
[all …]
Dsequence_manager_impl.h275 TaskQueue::TaskTiming task_timing) in ExecutingTask()
279 task_timing(task_timing), in ExecutingTask()
290 TaskQueue::TaskTiming task_timing; member
Dtask_queue_impl.h251 const TaskQueue::TaskTiming& task_timing);
260 TaskQueue::TaskTiming* task_timing,
Dtask_queue_impl.cc1337 const TaskQueue::TaskTiming& task_timing) { in OnTaskStarted() argument
1339 main_thread_only().on_task_started_handler.Run(task, task_timing); in OnTaskStarted()
1349 TaskQueue::TaskTiming* task_timing, in OnTaskCompleted() argument
1352 main_thread_only().on_task_completed_handler.Run(task, task_timing, in OnTaskCompleted()
Dsequence_manager_impl_unittest.cc4103 const TaskQueue::TaskTiming& task_timing) { ++(*counter); }, in SetOnTaskHandlers() argument
4106 [](int* counter, const Task& task, TaskQueue::TaskTiming* task_timing, in SetOnTaskHandlers()