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

Issue 2278433003: RTCStatsReport: Take ownership of other's stats with TakeMembersFrom (Closed)

Created:
4 years, 4 months ago by hbos
Modified:
4 years, 3 months ago
Reviewers:
AlexG, hta-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

RTCStatsReport: Take ownership of other's stats with TakeMembersFrom This would make it possible to gather stats on multiple threads, store the results in multiple reports and to merge the results. Added rtcstatsreport_unittest.cc, moving a RTCStatsReport-related test from rtcstats_unittest.cc. Added more unittests covering the order of stats and TakeMembersFrom. Also changed RTCStatsReport[] to RTCStatsReport::Get to avoid confusion with other usages of the [] operator. BUG=chromium:627816 NOTRY=True Committed: https://crrev.com/6d183ac27a6755497e35f197b8aaf41d6319aeaf Cr-Commit-Position: refs/heads/master@{#13957}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed comments #

Total comments: 3

Patch Set 3 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -37 lines) Patch
M webrtc/api/rtcstatsreport.h View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M webrtc/stats/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/stats/rtcstats_unittest.cc View 2 chunks +0 lines, -35 lines 0 comments Download
M webrtc/stats/rtcstatsreport.cc View 1 1 chunk +10 lines, -1 line 0 comments Download
A webrtc/stats/rtcstatsreport_unittest.cc View 1 1 chunk +131 lines, -0 lines 0 comments Download
M webrtc/stats/stats.gyp View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 22 (10 generated)
hbos
Please take a look, hta and glaznev.
4 years, 4 months ago (2016-08-24 12:46:01 UTC) #2
hta-webrtc
Some nits, and something I should have spotted earlier. https://codereview.webrtc.org/2278433003/diff/1/webrtc/api/rtcstatsreport.h File webrtc/api/rtcstatsreport.h (right): https://codereview.webrtc.org/2278433003/diff/1/webrtc/api/rtcstatsreport.h#newcode62 webrtc/api/rtcstatsreport.h:62: ...
4 years, 4 months ago (2016-08-24 13:54:55 UTC) #3
hbos
Please take (another) look hta, glaznev. https://codereview.webrtc.org/2278433003/diff/1/webrtc/api/rtcstatsreport.h File webrtc/api/rtcstatsreport.h (right): https://codereview.webrtc.org/2278433003/diff/1/webrtc/api/rtcstatsreport.h#newcode62 webrtc/api/rtcstatsreport.h:62: void Scavenge(rtc::scoped_refptr<RTCStatsReport> victim); ...
4 years, 4 months ago (2016-08-24 15:01:30 UTC) #6
hta-webrtc
lgtm https://codereview.webrtc.org/2278433003/diff/20001/webrtc/stats/rtcstatsreport_unittest.cc File webrtc/stats/rtcstatsreport_unittest.cc (right): https://codereview.webrtc.org/2278433003/diff/20001/webrtc/stats/rtcstatsreport_unittest.cc#newcode94 webrtc/stats/rtcstatsreport_unittest.cc:94: TEST(RTCStatsReport, StatsOrder) { This test verifies a property ...
4 years, 3 months ago (2016-08-26 08:50:31 UTC) #7
AlexG
lgtm
4 years, 3 months ago (2016-08-26 17:49:32 UTC) #8
hbos
https://codereview.webrtc.org/2278433003/diff/20001/webrtc/stats/rtcstatsreport_unittest.cc File webrtc/stats/rtcstatsreport_unittest.cc (right): https://codereview.webrtc.org/2278433003/diff/20001/webrtc/stats/rtcstatsreport_unittest.cc#newcode94 webrtc/stats/rtcstatsreport_unittest.cc:94: TEST(RTCStatsReport, StatsOrder) { On 2016/08/26 08:50:31, hta-webrtc wrote: > ...
4 years, 3 months ago (2016-08-29 09:52:46 UTC) #9
hbos
https://codereview.webrtc.org/2278433003/diff/20001/webrtc/stats/rtcstatsreport_unittest.cc File webrtc/stats/rtcstatsreport_unittest.cc (right): https://codereview.webrtc.org/2278433003/diff/20001/webrtc/stats/rtcstatsreport_unittest.cc#newcode94 webrtc/stats/rtcstatsreport_unittest.cc:94: TEST(RTCStatsReport, StatsOrder) { On 2016/08/29 09:52:45, hbos wrote: > ...
4 years, 3 months ago (2016-08-29 11:58:42 UTC) #10
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/2278433003/40001
4 years, 3 months ago (2016-08-29 11:58:52 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 3 months ago (2016-08-29 13:59:34 UTC) #15
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/2278433003/40001
4 years, 3 months ago (2016-08-29 14:13:17 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-29 14:20:39 UTC) #20
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 14:20:47 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6d183ac27a6755497e35f197b8aaf41d6319aeaf
Cr-Commit-Position: refs/heads/master@{#13957}

Powered by Google App Engine
This is Rietveld 408576698