Home
last modified time | relevance | path

Searched refs:LazyNow (Results 1 – 25 of 25) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dlazy_now.cc12 LazyNow::LazyNow(TimeTicks now) : tick_clock_(nullptr), now_(now) {} in LazyNow() function in base::sequence_manager::LazyNow
14 LazyNow::LazyNow(const TickClock* tick_clock) in LazyNow() function in base::sequence_manager::LazyNow
19 LazyNow::LazyNow(LazyNow&& move_from) noexcept in LazyNow() function in base::sequence_manager::LazyNow
25 TimeTicks LazyNow::Now() { in Now()
Dlazy_now.h21 class BASE_EXPORT LazyNow {
23 explicit LazyNow(TimeTicks now);
24 explicit LazyNow(const TickClock* tick_clock);
26 LazyNow(LazyNow&& move_from) noexcept;
35 DISALLOW_COPY_AND_ASSIGN(LazyNow);
Dtime_domain.h42 virtual LazyNow CreateLazyNow() const = 0;
56 virtual Optional<TimeDelta> DelayTillNextTask(LazyNow* lazy_now) = 0;
75 virtual void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time);
102 LazyNow* lazy_now);
108 void WakeUpReadyDelayedQueues(LazyNow* lazy_now);
Dtime_domain_unittest.cc45 LazyNow CreateLazyNow() const override { return LazyNow(now_); } in CreateLazyNow()
48 Optional<TimeDelta> DelayTillNextTask(LazyNow* lazy_now) override { in DelayTillNextTask()
62 void(LazyNow* lazy_now, TimeTicks run_time));
98 LazyNow lazy_now(now); in TEST_F()
118 LazyNow lazy_now(now); in TEST_F()
160 LazyNow lazy_now(now); in TEST_F()
194 LazyNow lazy_now(now); in TEST_F()
225 LazyNow lazy_now_1(now); in TEST_F()
238 LazyNow lazy_now_2(time_domain_->CreateLazyNow()); in TEST_F()
247 LazyNow lazy_now(now); in TEST_F()
[all …]
Dreal_time_domain.cc17 LazyNow RealTimeDomain::CreateLazyNow() const { in CreateLazyNow()
18 return LazyNow(sequence_manager()->GetTickClock()); in CreateLazyNow()
25 Optional<TimeDelta> RealTimeDomain::DelayTillNextTask(LazyNow* lazy_now) { in DelayTillNextTask()
Dtime_domain.cc36 void TimeDomain::SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) { in SetNextDelayedDoWork()
47 LazyNow lazy_now(CreateLazyNow()); in UnregisterQueue()
54 LazyNow* lazy_now) { in SetNextWakeUpForQueue()
100 void TimeDomain::WakeUpReadyDelayedQueues(LazyNow* lazy_now) { in WakeUpReadyDelayedQueues()
Dsequence_manager_impl.h110 TimeDelta DelayTillNextTask(LazyNow* lazy_now) override;
125 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time);
250 void WakeUpReadyDelayedQueues(LazyNow* lazy_now);
252 void NotifyWillProcessTask(ExecutingTask* task, LazyNow* time_before_task);
253 void NotifyDidProcessTask(ExecutingTask* task, LazyNow* time_after_task);
Dreal_time_domain.h22 LazyNow CreateLazyNow() const override;
24 Optional<TimeDelta> DelayTillNextTask(LazyNow* lazy_now) override;
Dsequence_manager_impl.cc238 void SequenceManagerImpl::WakeUpReadyDelayedQueues(LazyNow* lazy_now) { in WakeUpReadyDelayedQueues()
246 LazyNow time_domain_lazy_now = time_domain->CreateLazyNow(); in WakeUpReadyDelayedQueues()
290 void SequenceManagerImpl::SetNextDelayedDoWork(LazyNow* lazy_now, in SetNextDelayedDoWork()
318 LazyNow lazy_now(controller_->GetClock()); in TakeTask()
365 LazyNow lazy_now(controller_->GetClock()); in DidRunTask()
375 TimeDelta SequenceManagerImpl::DelayTillNextTask(LazyNow* lazy_now) { in DelayTillNextTask()
426 LazyNow* time_before_task) { in NotifyWillProcessTask()
483 LazyNow* time_after_task) { in NotifyDidProcessTask()
Dtask_queue_impl.h31 class LazyNow; variable
256 void WakeUpForDelayedWork(LazyNow* lazy_now);
414 void UpdateDelayedWakeUp(LazyNow* lazy_now);
415 void UpdateDelayedWakeUpImpl(LazyNow* lazy_now,
Dtask_queue_impl.cc257 LazyNow lazy_now(now); in PushOntoDelayedIncomingQueueFromMainThread()
289 LazyNow lazy_now(time_domain_now); in ScheduleDelayedWorkTask()
423 void TaskQueueImpl::WakeUpForDelayedWork(LazyNow* lazy_now) { in WakeUpForDelayedWork()
603 LazyNow lazy_now = time_domain->CreateLazyNow(); in SetTimeDomain()
834 LazyNow lazy_now = main_thread_only().time_domain->CreateLazyNow(); in EnableOrDisableWithSelector()
880 LazyNow lazy_now(now); in SweepCanceledDelayedTasks()
920 void TaskQueueImpl::UpdateDelayedWakeUp(LazyNow* lazy_now) { in UpdateDelayedWakeUp()
925 LazyNow* lazy_now, in UpdateDelayedWakeUpImpl()
943 LazyNow lazy_now = main_thread_only().time_domain->CreateLazyNow(); in SetDelayedWakeUpForTesting()
Dthread_controller_with_message_pump_impl.cc61 LazyNow* lazy_now, in SetNextDelayedDoWork()
140 LazyNow lazy_now(time_source_); in DoWork()
Dsequenced_task_source.h30 virtual TimeDelta DelayTillNextTask(LazyNow* lazy_now) = 0;
Dthread_controller.h57 virtual void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) = 0;
Dsequence_manager_perftest.cc36 Optional<TimeDelta> DelayTillNextTask(LazyNow* lazy_now) override { in DelayTillNextTask()
45 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override { in SetNextDelayedDoWork()
Dtask_queue.h190 void RecordTaskStart(LazyNow* now);
191 void RecordTaskEnd(LazyNow* now);
Dthread_controller_impl.cc79 void ThreadControllerImpl::SetNextDelayedDoWork(LazyNow* lazy_now, in SetNextDelayedDoWork()
193 LazyNow lazy_now(time_source_); in DoWork()
Dtask_queue.cc43 void TaskQueue::TaskTiming::RecordTaskStart(LazyNow* now) { in RecordTaskStart()
50 void TaskQueue::TaskTiming::RecordTaskEnd(LazyNow* now) { in RecordTaskEnd()
Dthread_controller_with_message_pump_impl.h35 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
Dthread_controller_impl.h40 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
Dsequence_manager_impl_unittest.cc129 LazyNow lazy_now(GetTickClock()); in RunUntilManagerIsIdle()
447 LazyNow lazy_now(GetTickClock()); in TEST_P()
1238 LazyNow lazy_now_1(GetTickClock()); in TEST_P()
1273 LazyNow lazy_now_2(GetTickClock()); in TEST_P()
1289 LazyNow lazy_now(GetTickClock()); in TEST_P()
1359 LazyNow lazy_now_1(GetTickClock()); in TEST_P()
1365 LazyNow lazy_now_2(GetTickClock()); in TEST_P()
2617 LazyNow lazy_now(GetTickClock()); in TEST_P()
2648 LazyNow lazy_now(GetTickClock()); in TEST_P()
2658 LazyNow lazy_now(GetTickClock()); in TEST_P()
[all …]
/external/libchrome/base/task/sequence_manager/test/
Dmock_time_domain.cc15 LazyNow MockTimeDomain::CreateLazyNow() const { in CreateLazyNow()
16 return LazyNow(now_ticks_); in CreateLazyNow()
27 Optional<TimeDelta> MockTimeDomain::DelayTillNextTask(LazyNow* lazy_now) { in DelayTillNextTask()
31 void MockTimeDomain::SetNextDelayedDoWork(LazyNow* lazy_now, in SetNextDelayedDoWork()
Dmock_time_domain.h23 LazyNow CreateLazyNow() const override;
25 Optional<TimeDelta> DelayTillNextTask(LazyNow* lazy_now) override;
26 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
Dlazy_thread_controller_for_test.h33 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
Dlazy_thread_controller_for_test.cc101 void LazyThreadControllerForTest::SetNextDelayedDoWork(LazyNow* lazy_now, in SetNextDelayedDoWork()