Lines Matching defs:TrackedTime
48 TrackedTime::TrackedTime() : ms_(0) {}
49 TrackedTime::TrackedTime(int32_t ms) : ms_(ms) {}
50 TrackedTime::TrackedTime(const base::TimeTicks& time)
54 TrackedTime TrackedTime::Now() {
55 return TrackedTime(base::TimeTicks::Now());
58 Duration TrackedTime::operator-(const TrackedTime& other) const {
62 TrackedTime TrackedTime::operator+(const Duration& other) const {
63 return TrackedTime(ms_ + other.ms_);
66 bool TrackedTime::is_null() const { return ms_ == 0; }