Delete Timing class, timing.h, and update all users.

BUG=webrtc:6324

Review-Url: https://codereview.webrtc.org/2290203002
Cr-Commit-Position: refs/heads/master@{#14203}
This commit is contained in:
nisse
2016-09-13 23:41:47 -07:00
committed by Commit bot
parent d29e3ea4b2
commit cdf37a9293
14 changed files with 46 additions and 259 deletions

View File

@ -108,6 +108,18 @@ class TimestampWrapAroundHandler {
// is still 32 bits on many systems.
int64_t TmToSeconds(const std::tm& tm);
// Return the number of microseconds since January 1, 1970, UTC.
// Useful mainly when producing logs to be correlated with other
// devices, and when the devices in question all have properly
// synchronized clocks.
//
// Note that this function obeys the system's idea about what the time
// is. It is not guaranteed to be monotonic; it will jump in case the
// system time is changed, e.g., by some other process calling
// settimeofday. Always use rtc::TimeMicros(), not this function, for
// measuring time intervals and timeouts.
int64_t TimeUTCMicros();
} // namespace rtc
#endif // WEBRTC_BASE_TIMEUTILS_H_