/external/libchrome/base/task/sequence_manager/ |
D | lazy_now.cc | 12 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()
|
D | lazy_now.h | 21 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);
|
D | time_domain.h | 42 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);
|
D | time_domain_unittest.cc | 45 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 …]
|
D | real_time_domain.cc | 17 LazyNow RealTimeDomain::CreateLazyNow() const { in CreateLazyNow() 18 return LazyNow(sequence_manager()->GetTickClock()); in CreateLazyNow() 25 Optional<TimeDelta> RealTimeDomain::DelayTillNextTask(LazyNow* lazy_now) { in DelayTillNextTask()
|
D | time_domain.cc | 36 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()
|
D | sequence_manager_impl.h | 110 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);
|
D | real_time_domain.h | 22 LazyNow CreateLazyNow() const override; 24 Optional<TimeDelta> DelayTillNextTask(LazyNow* lazy_now) override;
|
D | sequence_manager_impl.cc | 238 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()
|
D | task_queue_impl.h | 31 class LazyNow; variable 256 void WakeUpForDelayedWork(LazyNow* lazy_now); 414 void UpdateDelayedWakeUp(LazyNow* lazy_now); 415 void UpdateDelayedWakeUpImpl(LazyNow* lazy_now,
|
D | task_queue_impl.cc | 257 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()
|
D | thread_controller_with_message_pump_impl.cc | 61 LazyNow* lazy_now, in SetNextDelayedDoWork() 140 LazyNow lazy_now(time_source_); in DoWork()
|
D | sequenced_task_source.h | 30 virtual TimeDelta DelayTillNextTask(LazyNow* lazy_now) = 0;
|
D | thread_controller.h | 57 virtual void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) = 0;
|
D | sequence_manager_perftest.cc | 36 Optional<TimeDelta> DelayTillNextTask(LazyNow* lazy_now) override { in DelayTillNextTask() 45 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override { in SetNextDelayedDoWork()
|
D | task_queue.h | 190 void RecordTaskStart(LazyNow* now); 191 void RecordTaskEnd(LazyNow* now);
|
D | thread_controller_impl.cc | 79 void ThreadControllerImpl::SetNextDelayedDoWork(LazyNow* lazy_now, in SetNextDelayedDoWork() 193 LazyNow lazy_now(time_source_); in DoWork()
|
D | task_queue.cc | 43 void TaskQueue::TaskTiming::RecordTaskStart(LazyNow* now) { in RecordTaskStart() 50 void TaskQueue::TaskTiming::RecordTaskEnd(LazyNow* now) { in RecordTaskEnd()
|
D | thread_controller_with_message_pump_impl.h | 35 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
|
D | thread_controller_impl.h | 40 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
|
D | sequence_manager_impl_unittest.cc | 129 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/ |
D | mock_time_domain.cc | 15 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()
|
D | mock_time_domain.h | 23 LazyNow CreateLazyNow() const override; 25 Optional<TimeDelta> DelayTillNextTask(LazyNow* lazy_now) override; 26 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
|
D | lazy_thread_controller_for_test.h | 33 void SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) override;
|
D | lazy_thread_controller_for_test.cc | 101 void LazyThreadControllerForTest::SetNextDelayedDoWork(LazyNow* lazy_now, in SetNextDelayedDoWork()
|