Searched defs:tick_phase (Results 1 - 1 of 1) sorted by relevance

/external/libchrome/base/time/
H A Dtime.cc306 TimeTicks TimeTicks::SnappedToNextTick(TimeTicks tick_phase, argument
309 // |tick_interval| after |tick_phase|, possibly negative if in the past.
310 TimeDelta interval_offset = (tick_phase - *this) % tick_interval;
312 // Otherwise, if |tick_phase| was in the past, adjust forward to the next
314 if (!interval_offset.is_zero() && tick_phase < *this)

Completed in 208 milliseconds