Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Issue 2299643002: RTCStatsCollector: timestamps updated. (Closed)

Created:
4 years, 3 months ago by hbos
Modified:
4 years, 3 months ago
Reviewers:
nisse-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

RTCStatsCollector: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -88 lines) Patch
M webrtc/api/rtcstats.h View 1 2 3 chunks +9 lines, -9 lines 0 comments Download
M webrtc/api/rtcstats_objects.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/stats/rtcstats.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/stats/rtcstats_objects.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/stats/rtcstats_unittest.cc View 1 2 4 chunks +8 lines, -8 lines 0 comments Download
M webrtc/stats/rtcstatscollector.h View 1 2 3 chunks +10 lines, -9 lines 0 comments Download
M webrtc/stats/rtcstatscollector.cc View 1 2 3 chunks +19 lines, -13 lines 0 comments Download
M webrtc/stats/rtcstatscollector_unittest.cc View 1 2 3 chunks +13 lines, -6 lines 0 comments Download
M webrtc/stats/rtcstatsreport_unittest.cc View 1 2 6 chunks +36 lines, -36 lines 0 comments Download

Messages

Total messages: 28 (16 generated)
hbos
Please take a look, nisse.
4 years, 3 months ago (2016-08-31 12:06:36 UTC) #2
nisse-webrtc
On 2016/08/31 12:06:36, hbos wrote: > Please take a look, nisse. lgtm. I think it's ...
4 years, 3 months ago (2016-08-31 12:41:36 UTC) #7
hbos
On 2016/08/31 12:41:36, nisse-webrtc wrote: > On 2016/08/31 12:06:36, hbos wrote: > > Please take ...
4 years, 3 months ago (2016-08-31 13:33:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2299643002/40001
4 years, 3 months ago (2016-08-31 13:34:20 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios64_gn_dbg on master.tryserver.webrtc (JOB_FAILED, no build URL) ios64_gn_rel on ...
4 years, 3 months ago (2016-08-31 13:35:31 UTC) #14
nisse-webrtc
On 2016/08/31 13:33:58, hbos wrote: > On 2016/08/31 12:41:36, nisse-webrtc wrote: > > On 2016/08/31 ...
4 years, 3 months ago (2016-08-31 14:04:39 UTC) #15
hbos
On 2016/08/31 14:04:39, nisse-webrtc wrote: > Nice. One nit: I think the main convention in ...
4 years, 3 months ago (2016-08-31 14:20:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2299643002/60001
4 years, 3 months ago (2016-08-31 14:21:21 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios64_gn_dbg on master.tryserver.webrtc (JOB_FAILED, no build URL) ios64_gn_rel on ...
4 years, 3 months ago (2016-08-31 14:22:31 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2299643002/60001
4 years, 3 months ago (2016-08-31 14:53:22 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 3 months ago (2016-08-31 14:57:41 UTC) #26
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 14:57:53 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0e6758d7efc64a93d27f45b278d867d7f13f2131
Cr-Commit-Position: refs/heads/master@{#13997}

Powered by Google App Engine
This is Rietveld 408576698