Home
last modified time | relevance | path

Searched refs:time_domain_now (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dtask_queue_impl.cc226 TimeTicks time_domain_now = main_thread_only().time_domain->Now(); in PostDelayedTaskImpl() local
227 TimeTicks time_domain_delayed_run_time = time_domain_now + task.delay; in PostDelayedTaskImpl()
230 time_domain_now); in PostDelayedTaskImpl()
243 TimeTicks time_domain_now = any_thread().time_domain->Now(); in PostDelayedTaskImpl() local
244 TimeTicks time_domain_delayed_run_time = time_domain_now + task.delay; in PostDelayedTaskImpl()
281 TimeTicks time_domain_now = main_thread_only().time_domain->Now(); in ScheduleDelayedWorkTask() local
282 if (delayed_run_time <= time_domain_now) { in ScheduleDelayedWorkTask()
286 delayed_run_time = time_domain_now; in ScheduleDelayedWorkTask()
287 pending_task.delayed_run_time = time_domain_now; in ScheduleDelayedWorkTask()
289 LazyNow lazy_now(time_domain_now); in ScheduleDelayedWorkTask()
[all …]
Dsequence_manager_impl.cc52 std::map<TimeDomain*, TimeTicks>* time_domain_now) { in SweepCanceledDelayedTasksInQueue() argument
54 if (time_domain_now->find(time_domain) == time_domain_now->end()) in SweepCanceledDelayedTasksInQueue()
55 time_domain_now->insert(std::make_pair(time_domain, time_domain->Now())); in SweepCanceledDelayedTasksInQueue()
56 queue->SweepCanceledDelayedTasks(time_domain_now->at(time_domain)); in SweepCanceledDelayedTasksInQueue()
629 std::map<TimeDomain*, TimeTicks> time_domain_now; in SweepCanceledDelayedTasks() local
631 SweepCanceledDelayedTasksInQueue(queue, &time_domain_now); in SweepCanceledDelayedTasks()
633 SweepCanceledDelayedTasksInQueue(pair.first, &time_domain_now); in SweepCanceledDelayedTasks()