Home
last modified time | relevance | path

Searched refs:NowTicks (Results 1 – 18 of 18) sorted by relevance

/external/libchrome/base/test/
Dtest_mock_time_task_runner.cc30 TimeTicks NowTicks() const override { return task_runner_->NowTicks(); } in NowTicks() function in base::__anonad219fa40111::LegacyMockTickClock
227 const TimeTicks original_now_ticks = NowTicks(); in FastForwardBy()
233 ForwardClocksUntilTickTime(NowTicks() + delta); in AdvanceMockTickClock()
273 TimeTicks TestMockTimeTaskRunner::NowTicks() const { in NowTicks() function in base::TestMockTimeTaskRunner
397 const TimeTicks original_now_ticks = NowTicks(); in ProcessAllTasksNoLaterThan()
489 TimeTicks TestMockTimeTaskRunner::MockClock::NowTicks() const { in NowTicks() function in base::TestMockTimeTaskRunner::MockClock
490 return task_runner_->NowTicks(); in NowTicks()
Dscoped_task_environment_unittest.cc290 base::TimeTicks tick_clock_ref = tick_clock->NowTicks(); in TEST_F()
294 EXPECT_EQ(kShortTaskDelay, tick_clock->NowTicks() - tick_clock_ref); in TEST_F()
298 EXPECT_EQ(kLongTaskDelay, tick_clock->NowTicks() - tick_clock_ref); in TEST_F()
303 EXPECT_EQ(kLongTaskDelay * 2, tick_clock->NowTicks() - tick_clock_ref); in TEST_F()
Dtest_mock_time_task_runner_unittest.cc268 TimeTicks start_time = task_runner->NowTicks(); in TEST()
275 EXPECT_EQ(start_time, task_runner->NowTicks()); in TEST()
280 TimeTicks start_time = task_runner->NowTicks(); in TEST()
286 EXPECT_EQ(start_time + TimeDelta::FromSeconds(3), task_runner->NowTicks()); in TEST()
Dtest_mock_time_task_runner.h162 TimeTicks NowTicks() const;
219 TimeTicks NowTicks() const override;
Dsimple_test_tick_clock.h24 TimeTicks NowTicks() const override;
Dsimple_test_tick_clock.cc15 TimeTicks SimpleTestTickClock::NowTicks() const { in NowTicks() function in base::SimpleTestTickClock
/external/libchrome/base/timer/
Dmock_timer.cc41 clock_.Advance(std::max(TimeDelta(), desired_run_time() - clock_.NowTicks())); in Fire()
60 clock_.Advance(std::max(TimeDelta(), desired_run_time() - clock_.NowTicks())); in Fire()
79 clock_.Advance(std::max(TimeDelta(), desired_run_time() - clock_.NowTicks())); in Fire()
Dtimer.cc190 return tick_clock_ ? tick_clock_->NowTicks() : TimeTicks::Now(); in Now()
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc99 start_time_ = GetTickClock()->NowTicks(); in SetUp()
170 start_time_ = mock_clock_.NowTicks(); in SetUpWithMessageLoop()
178 start_time_ = mock_clock_.NowTicks(); in SetUpWithMessagePump()
231 TimeTicks NowTicks() const override { in NowTicks() function in base::sequence_manager::internal::sequence_manager_impl_unittest::TestCountUsesTimeSource
851 run_times->push_back(clock->NowTicks()); in RecordTimeTask()
858 run_times->emplace_back(task_queue, clock->NowTicks()); in RecordTimeAndQueueTask()
877 runners_[0]->InsertFenceAt(GetTickClock()->NowTicks() + in TEST_P()
902 runners_[0]->InsertFenceAt(GetTickClock()->NowTicks() + in TEST_P()
934 runners_[0]->InsertFenceAt(GetTickClock()->NowTicks() + in TEST_P()
974 queue1->InsertFenceAt(GetTickClock()->NowTicks() + in TEST_P()
[all …]
Dlazy_now.cc30 now_ = tick_clock_->NowTicks(); in Now()
Dreal_time_domain.cc22 return sequence_manager()->NowTicks(); in Now()
Dsequence_manager.h79 virtual TimeTicks NowTicks() const = 0;
Dsequence_manager_impl.cc581 TimeTicks now = NowTicks(); in AsValueWithSelectorResult()
679 TimeTicks SequenceManagerImpl::NowTicks() const { in NowTicks() function in base::sequence_manager::internal::SequenceManagerImpl
680 return controller_->GetClock()->NowTicks(); in NowTicks()
Dthread_controller_with_message_pump_impl.cc75 DCHECK_LT(time_source_->NowTicks(), run_time); in SetNextDelayedDoWork()
Dsequence_manager_impl.h97 TimeTicks NowTicks() const override;
/external/libchrome/base/time/
Dtick_clock.h35 virtual TimeTicks NowTicks() const = 0;
Ddefault_tick_clock.cc13 TimeTicks DefaultTickClock::NowTicks() const { in NowTicks() function in base::DefaultTickClock
Ddefault_tick_clock.h19 TimeTicks NowTicks() const override;