Lines Matching refs:TimeTicks
308 TimeTicks ticks = GetSystemTicks(); in Now()
331 static TimeTicks GetSystemTicks() { in GetSystemTicks()
332 return TimeTicks::Now(); in GetSystemTicks()
341 TimeTicks initial_ticks_;
481 TimeTicks TimeTicks::HighResolutionNow() { in HighResolutionNow()
487 return TimeTicks::Now(); in HighResolutionNow()
560 TimeTicks RolloverProtectedNow() { in RolloverProtectedNow()
588 return TimeTicks() + in RolloverProtectedNow()
628 TimeTicks InitialTimeTicksNowFunction();
632 using TimeTicksNowFunction = decltype(&TimeTicks::Now);
650 if (qpc_value < TimeTicks::kQPCOverflowThreshold) { in QPCValueToTimeDelta()
652 qpc_value * TimeTicks::kMicrosecondsPerSecond / g_qpc_ticks_per_second); in QPCValueToTimeDelta()
659 (whole_seconds * TimeTicks::kMicrosecondsPerSecond) + in QPCValueToTimeDelta()
660 ((leftover_ticks * TimeTicks::kMicrosecondsPerSecond) / in QPCValueToTimeDelta()
664 TimeTicks QPCNow() { return TimeTicks() + QPCValueToTimeDelta(QPCNowRaw()); } in QPCNow()
709 TimeTicks InitialTimeTicksNowFunction() { in InitialTimeTicksNowFunction()
719 TimeTicks TimeTicks::Now() { in Now()
721 TimeTicks ticks(g_time_ticks_now_function()); in Now()
727 bool TimeTicks::IsHighResolution() { in IsHighResolution()
735 TimeTicks TimeTicks::Now() { in Now()
751 #error platform does not implement TimeTicks::HighResolutionNow. in Now()
754 return TimeTicks(ticks + 1); in Now()
758 bool TimeTicks::IsHighResolution() { in IsHighResolution()