Home | History | Annotate | Download | only in time

Lines Matching defs:TimeTicks

16 // TimeTicks and ThreadTicks represent an abstract time that is most of the time
20 // TimeTicks may "stand still" (e.g., if the computer is suspended), and
42 // TimeTicks: Tracking the amount of time a task runs. Executing delayed
44 // Synchronizing audio and video using TimeTicks as a common
705 // TimeTicks ------------------------------------------------------------------
708 class BASE_EXPORT TimeTicks : public time_internal::TimeBase<TimeTicks> {
710 // The underlying clock used to generate new TimeTicks.
719 TimeTicks() : TimeBase(0) {
726 static TimeTicks Now();
734 // Returns true if TimeTicks is consistent across processes, meaning that
742 // Translates an absolute QPC timestamp into a TimeTicks value. The returned
745 static TimeTicks FromQPCValue(LONGLONG qpc_value);
749 static TimeTicks FromMachAbsoluteTime(uint64_t mach_absolute_time);
753 // Time and TimeTicks respond differently to user-set time and NTP
755 // useful when you need to relate the value of TimeTicks to a real time and
760 static TimeTicks UnixEpoch();
765 TimeTicks SnappedToNextTick(TimeTicks tick_phase,
769 // TimeTicks timestamps. This function should only be used for debugging and
780 friend class time_internal::TimeBase<TimeTicks>;
784 explicit TimeTicks(int64_t us) : TimeBase(us) {}
788 BASE_EXPORT std::ostream& operator<<(std::ostream& os, TimeTicks time_ticks);
843 FRIEND_TEST_ALL_PREFIXES(TimeTicks, TSCTicksPerSecond);