Home | History | Annotate | Download | only in platform

Lines Matching defs:Elapsed

21   // |Elapsed()| or |HasExpired()|, and may be restarted using |Restart()|.
50 // Restarts the timer and returns the time elapsed since the previous start.
51 // This method is equivalent to obtaining the elapsed time with |Elapsed()|
58 TimeDelta elapsed = ticks - start_ticks_;
59 DCHECK(elapsed.InMicroseconds() >= 0);
62 return elapsed;
65 // Returns the time elapsed since the previous start. This method may only
67 TimeDelta Elapsed() const {
69 TimeDelta elapsed = Now() - start_ticks_;
70 DCHECK(elapsed.InMicroseconds() >= 0);
71 return elapsed;
74 // Returns |true| if the specified |time_delta| has elapsed since the
79 return Elapsed() >= time_delta;