DescriptionRTCStatsCollector: timestamps updated.
Using a timestamp based on a timer that is monotonically increasing for
the cache, so that cache's freshness can be checked regardless of if
system clock is modified.
Using a system clock for the stats' timestamp, which needs to be
relative to UNIX epoch (Jan 1, 1970, UTC).
This CL removes the dependency on faketiming.h.
BUG=chromium:627816
NOTRY=True
Committed: https://crrev.com/0e6758d7efc64a93d27f45b278d867d7f13f2131
Cr-Commit-Position: refs/heads/master@{#13997}
Patch Set 1 #Patch Set 2 : Changed RTCStatsCollector and RTCStats to use uint64_t microseconds time, affecting unittests #Patch Set 3 : uint64_t -> int64_t timestamps #
Messages
Total messages: 28 (16 generated)
|