Home | History | Annotate | Download | only in quic

Lines Matching defs:QuicTime

5 // QuicTime represents one point in time, stored in microsecond resolution.
6 // QuicTime is monotonically increasing, even across system clock adjustments.
7 // The epoch (time 0) of QuicTime is unspecified.
22 // A QuicTime is a purely relative time. QuicTime values from different clocks
25 class NET_EXPORT_PRIVATE QuicTime {
27 // A QuicTime::Delta represents the signed difference between two points in
74 friend class QuicTime;
78 explicit QuicTime(base::TimeTicks ticks);
80 // Creates a new QuicTime with an internal value of 0. IsInitialized()
82 static QuicTime Zero();
85 static QuicTime Max(QuicTime time1, QuicTime time2);
95 QuicTime Add(const Delta& delta) const;
97 QuicTime Subtract(const Delta& delta) const;
99 Delta Subtract(const QuicTime& other) const;
102 friend bool operator==(QuicTime lhs, QuicTime rhs);
103 friend bool operator<(QuicTime lhs, QuicTime rhs);
136 QuicTime::Delta AbsoluteDifference(QuicWallTime other) const;
140 QuicWallTime Add(QuicTime::Delta delta) const;
144 QuicWallTime Subtract(QuicTime::Delta delta) const;
152 // Non-member relational operators for QuicTime::Delta.
153 inline bool operator==(QuicTime::Delta lhs, QuicTime::Delta rhs) {
156 inline bool operator!=(QuicTime::Delta lhs, QuicTime::Delta rhs) {
159 inline bool operator<(QuicTime::Delta lhs, QuicTime::Delta rhs) {
162 inline bool operator>(QuicTime::Delta lhs, QuicTime::Delta rhs) {
165 inline bool operator<=(QuicTime::Delta lhs, QuicTime::Delta rhs) {
168 inline bool operator>=(QuicTime::Delta lhs, QuicTime::Delta rhs) {
171 // Non-member relational operators for QuicTime.
172 inline bool operator==(QuicTime lhs, QuicTime rhs) {
175 inline bool operator!=(QuicTime lhs, QuicTime rhs) {
178 inline bool operator<(QuicTime lhs, QuicTime rhs) {
181 inline bool operator>(QuicTime lhs, QuicTime rhs) {
184 inline bool operator<=(QuicTime lhs, QuicTime rhs) {
187 inline bool operator>=(QuicTime lhs, QuicTime rhs) {