Home
last modified time | relevance | path

Searched refs:TimeDomain (Results 1 – 16 of 16) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dtime_domain.cc14 TimeDomain::TimeDomain() : sequence_manager_(nullptr) {} in TimeDomain() function in base::sequence_manager::TimeDomain
16 TimeDomain::~TimeDomain() { in ~TimeDomain()
20 void TimeDomain::OnRegisterWithSequenceManager( in OnRegisterWithSequenceManager()
27 SequenceManager* TimeDomain::sequence_manager() const { in sequence_manager()
36 void TimeDomain::SetNextDelayedDoWork(LazyNow* lazy_now, TimeTicks run_time) { in SetNextDelayedDoWork()
40 void TimeDomain::RequestDoWork() { in RequestDoWork()
44 void TimeDomain::UnregisterQueue(internal::TaskQueueImpl* queue) { in UnregisterQueue()
51 void TimeDomain::SetNextWakeUpForQueue( in SetNextWakeUpForQueue()
100 void TimeDomain::WakeUpReadyDelayedQueues(LazyNow* lazy_now) { in WakeUpReadyDelayedQueues()
112 Optional<TimeTicks> TimeDomain::NextScheduledRunTime() const { in NextScheduledRunTime()
[all …]
Dsequence_manager.h19 class TimeDomain; variable
74 virtual void RegisterTimeDomain(TimeDomain* time_domain) = 0;
75 virtual void UnregisterTimeDomain(TimeDomain* time_domain) = 0;
77 virtual TimeDomain* GetRealTimeDomain() const = 0;
Dtime_domain.h35 class BASE_EXPORT TimeDomain {
37 virtual ~TimeDomain();
61 TimeDomain();
133 DISALLOW_COPY_AND_ASSIGN(TimeDomain);
Dtask_queue_impl.h32 class TimeDomain; variable
75 TimeDomain* time_domain,
199 void SetTimeDomain(TimeDomain* time_domain);
200 TimeDomain* GetTimeDomain() const;
323 AnyThread(SequenceManagerImpl* sequence_manager, TimeDomain* time_domain);
331 TimeDomain* time_domain;
339 TimeDomain* time_domain);
346 TimeDomain* time_domain;
Dtask_queue.h33 class TimeDomain; variable
127 Spec SetTimeDomain(TimeDomain* domain) { in SetTimeDomain()
134 TimeDomain* time_domain;
269 void SetTimeDomain(TimeDomain* domain);
272 TimeDomain* GetTimeDomain() const;
Dsequence_manager_impl.h52 class TimeDomain; variable
93 void RegisterTimeDomain(TimeDomain* time_domain) override;
94 void UnregisterTimeDomain(TimeDomain* time_domain) override;
95 TimeDomain* GetRealTimeDomain() const override;
203 std::set<TimeDomain*> time_domains;
Dsequence_manager_impl.cc52 std::map<TimeDomain*, TimeTicks>* time_domain_now) { in SweepCanceledDelayedTasksInQueue() argument
53 TimeDomain* time_domain = queue->GetTimeDomain(); in SweepCanceledDelayedTasksInQueue()
136 void SequenceManagerImpl::RegisterTimeDomain(TimeDomain* time_domain) { in RegisterTimeDomain()
141 void SequenceManagerImpl::UnregisterTimeDomain(TimeDomain* time_domain) { in UnregisterTimeDomain()
145 TimeDomain* SequenceManagerImpl::GetRealTimeDomain() const { in GetRealTimeDomain()
152 TimeDomain* time_domain = spec.time_domain in CreateTaskQueueImpl()
242 for (TimeDomain* time_domain : main_thread_only().time_domains) { in WakeUpReadyDelayedQueues()
399 for (TimeDomain* time_domain : main_thread_only().time_domains) { in DelayTillNextTask()
629 std::map<TimeDomain*, TimeTicks> time_domain_now; in SweepCanceledDelayedTasks()
Dtime_domain_unittest.cc26 TimeDomain* time_domain, in TaskQueueImplForTest()
34 class TestTimeDomain : public TimeDomain {
40 using TimeDomain::NextScheduledRunTime;
41 using TimeDomain::SetNextWakeUpForQueue;
42 using TimeDomain::UnregisterQueue;
43 using TimeDomain::WakeUpReadyDelayedQueues;
Dreal_time_domain.h16 class BASE_EXPORT RealTimeDomain : public TimeDomain {
Dtask_queue.cc198 void TaskQueue::SetTimeDomain(TimeDomain* time_domain) { in SetTimeDomain()
205 TimeDomain* TaskQueue::GetTimeDomain() const { in GetTimeDomain()
Dtask_queue_impl.cc44 TimeDomain* time_domain, in TaskQueueImpl()
107 TimeDomain* time_domain) in AnyThread()
115 TimeDomain* time_domain) in MainThreadOnly()
582 void TaskQueueImpl::SetTimeDomain(TimeDomain* time_domain) { in SetTimeDomain()
612 TimeDomain* TaskQueueImpl::GetTimeDomain() const { in GetTimeDomain()
Dsequence_manager_perftest.cc201 std::unique_ptr<TimeDomain> time_domain_;
Dwork_queue_sets_unittest.cc16 class TimeDomain;
Dtask_queue_selector_unittest.cc184 std::unique_ptr<TimeDomain> time_domain_;
Dsequence_manager_impl_unittest.cc1956 std::unique_ptr<TimeDomain> mock_time_domain = in TEST_P()
/external/libchrome/base/task/sequence_manager/test/
Dmock_time_domain.h15 class MockTimeDomain : public TimeDomain {