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

Issue 2529063002: Templatize percentile_filter.h and move it to base/analytics. (Closed)

Created:
4 years ago by terelius
Modified:
4 years ago
Reviewers:
magjed_webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, tommi
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Templatize percentile_filter.h and move it to base/analytics. BUG=None Committed: https://crrev.com/cb861e074a1988715b5d84511fecdc52b7d7091c Cr-Commit-Position: refs/heads/master@{#15334}

Patch Set 1 #

Patch Set 2 : Fix template instantiation. #

Patch Set 3 : Test different template instantiations. #

Patch Set 4 : Attempt at better diff #

Patch Set 5 : Format #

Patch Set 6 : Use unsigned literals where needed. #

Patch Set 7 : Only allow removing the oldest element from PercentileFilter. #

Total comments: 2

Patch Set 8 : Move last patch set to a separate CL. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -241 lines) Patch
M webrtc/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/base/BUILD.gn View 1 chunk +4 lines, -0 lines 0 comments Download
A + webrtc/base/analytics/percentile_filter.h View 1 2 3 4 7 5 chunks +51 lines, -8 lines 2 comments Download
A + webrtc/base/analytics/percentile_filter_unittest.cc View 1 2 3 4 5 7 4 chunks +35 lines, -4 lines 1 comment Download
M webrtc/modules/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/video_coding/codec_timer.h View 2 chunks +2 lines, -2 lines 0 comments Download
D webrtc/modules/video_coding/percentile_filter.h View 1 chunk +0 lines, -50 lines 0 comments Download
D webrtc/modules/video_coding/percentile_filter.cc View 1 chunk +0 lines, -70 lines 0 comments Download
D webrtc/modules/video_coding/percentile_filter_unittest.cc View 1 chunk +0 lines, -104 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 39 (26 generated)
terelius
I want to move the percentile filter to base/analytics to be able to reuse it ...
4 years ago (2016-11-25 10:55:34 UTC) #4
magjed_webrtc
Is it possible to get a better diff of the template change? Can you declare ...
4 years ago (2016-11-25 12:16:38 UTC) #7
terelius
On 2016/11/25 12:16:38, magjed_webrtc wrote: > Is it possible to get a better diff of ...
4 years ago (2016-11-25 13:27:54 UTC) #12
magjed_webrtc
lgtm
4 years ago (2016-11-25 14:15:21 UTC) #17
terelius
Adding mflodman as reviewer for changes in base/ and moving tommi to CC.
4 years ago (2016-11-28 12:37:38 UTC) #19
magjed_webrtc
You should probably do the moving window changes in a separate follow-up CL to this. ...
4 years ago (2016-11-30 10:58:25 UTC) #24
terelius
On 2016/11/30 10:58:25, magjed_webrtc wrote: > You should probably do the moving window changes in ...
4 years ago (2016-11-30 13:40:35 UTC) #25
mflodman
LGTM
4 years ago (2016-11-30 13:47:47 UTC) #26
magjed_webrtc
https://codereview.webrtc.org/2529063002/diff/140001/webrtc/base/analytics/percentile_filter.h File webrtc/base/analytics/percentile_filter.h (right): https://codereview.webrtc.org/2529063002/diff/140001/webrtc/base/analytics/percentile_filter.h#newcode14 webrtc/base/analytics/percentile_filter.h:14: #include <stdint.h> this include looks unused https://codereview.webrtc.org/2529063002/diff/140001/webrtc/base/analytics/percentile_filter_unittest.cc File webrtc/base/analytics/percentile_filter_unittest.cc ...
4 years ago (2016-11-30 14:22:44 UTC) #31
terelius
https://codereview.webrtc.org/2529063002/diff/140001/webrtc/base/analytics/percentile_filter.h File webrtc/base/analytics/percentile_filter.h (right): https://codereview.webrtc.org/2529063002/diff/140001/webrtc/base/analytics/percentile_filter.h#newcode14 webrtc/base/analytics/percentile_filter.h:14: #include <stdint.h> On 2016/11/30 14:22:43, magjed_webrtc wrote: > this ...
4 years ago (2016-11-30 14:32:17 UTC) #32
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/2529063002/140001
4 years ago (2016-11-30 14:50:23 UTC) #35
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-11-30 14:52:04 UTC) #37
commit-bot: I haz the power
4 years ago (2016-11-30 14:52:10 UTC) #39
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/cb861e074a1988715b5d84511fecdc52b7d7091c
Cr-Commit-Position: refs/heads/master@{#15334}

Powered by Google App Engine
This is Rietveld 408576698