Lines Matching defs:TimeTicks

13 // TimeTicks represents an abstract time that is most of the time incrementing
17 // Time::Now() may actually decrease or jump). But note that TimeTicks may
54 class TimeTicks;
168 TimeTicks operator+(TimeTicks t) const;
192 friend class TimeTicks;
564 // TimeTicks ------------------------------------------------------------------
566 class BASE_EXPORT TimeTicks {
576 TimeTicks() : ticks_(0) {
582 static TimeTicks Now();
588 static TimeTicks HighResNow();
607 static TimeTicks ThreadNow();
614 static TimeTicks NowFromSystemTraceTime();
620 static TimeTicks FromQPCValue(LONGLONG qpc_value);
627 static TimeTicks UnprotectedNow();
635 // Converts an integer value representing TimeTicks to a class. This is used
636 // when deserializing a |TimeTicks| structure, using a value known to be
639 static TimeTicks FromInternalValue(int64 ticks) {
640 return TimeTicks(ticks);
644 // you need to relate the value of TimeTicks to a real time and date.
649 static TimeTicks UnixEpoch();
651 // Returns the internal numeric value of the TimeTicks object.
657 TimeTicks& operator=(TimeTicks other) {
663 TimeDelta operator-(TimeTicks other) const {
668 TimeTicks& operator+=(TimeDelta delta) {
672 TimeTicks& operator-=(TimeDelta delta) {
677 // Return a new TimeTicks modified by some delta.
678 TimeTicks operator+(TimeDelta delta) const {
679 return TimeTicks(ticks_ + delta.delta_);
681 TimeTicks operator-(TimeDelta delta) const {
682 return TimeTicks(ticks_ - delta.delta_);
686 bool operator==(TimeTicks other) const {
689 bool operator!=(TimeTicks other) const {
692 bool operator<(TimeTicks other) const {
695 bool operator<=(TimeTicks other) const {
698 bool operator>(TimeTicks other) const {
701 bool operator>=(TimeTicks other) const {
710 explicit TimeTicks(int64 ticks) : ticks_(ticks) {
722 inline TimeTicks TimeDelta::operator+(TimeTicks t) const {
723 return TimeTicks(t.ticks_ + delta_);