Home | History | Annotate | Download | only in base

Lines Matching full:time

13 #include "base/time/time.h"
18 // over a specified time window. This can be used to measure bandwidth, frame
29 // Returns the rate-per-second of values recorded over the time window.
33 // Overrides the current time for testing.
34 void SetCurrentTimeForTest(base::Time current_time);
38 typedef std::pair<base::Time, int64> DataPoint;
41 void EvictOldDataPoints(base::Time current_time);
43 // Returns the current time specified for test, if set, or base::Time::Now().
44 base::Time CurrentTime() const;
46 // Time window over which to calculate the rate.
56 base::Time current_time_for_test_;