Home | History | Annotate | Download | only in profiler

Lines Matching refs:TrackedTime

46 TrackedTime::TrackedTime() : ms_(0) {}
47 TrackedTime::TrackedTime(int32 ms) : ms_(ms) {}
48 TrackedTime::TrackedTime(const base::TimeTicks& time)
53 TrackedTime TrackedTime::Now() {
58 return TrackedTime(base::TimeTicks::UnprotectedNow());
61 return TrackedTime(base::TimeTicks::Now());
65 Duration TrackedTime::operator-(const TrackedTime& other) const {
69 TrackedTime TrackedTime::operator+(const Duration& other) const {
70 return TrackedTime(ms_ + other.ms_);
73 bool TrackedTime::is_null() const { return ms_ == 0; }