Home
last modified time | relevance | path

Searched refs:now_ticks_ (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/components/domain_reliability/
Dtest_util.cc102 now_ticks_(base::TimeTicks::Now()), in MockTime()
103 epoch_ticks_(now_ticks_), in MockTime()
111 base::TimeTicks MockTime::NowTicks() { return now_ticks_; } in NowTicks()
118 base::TimeTicks target_ticks = now_ticks_ + delta; in Advance()
125 DCHECK(now_ticks_ <= key.time); in Advance()
133 DCHECK(now_ticks_ <= target_ticks); in Advance()
139 tasks_[TaskKey(now_ticks_ + delay, task_sequence_number_++)] = task; in AddTask()
143 base::TimeDelta delta = target_ticks - now_ticks_; in AdvanceToInternal()
145 now_ticks_ += delta; in AdvanceToInternal()
Dtest_util.h108 int elapsed_sec() { return (now_ticks_ - epoch_ticks_).InSeconds(); } in elapsed_sec()
111 base::TimeTicks now_ticks_; variable
/external/chromium_org/base/test/
Dsimple_test_tick_clock.cc17 return now_ticks_; in NowTicks()
23 now_ticks_ += delta; in Advance()
Dsimple_test_tick_clock.h33 TimeTicks now_ticks_; variable