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

Issue 2841143002: Monitor Add for negative results. (Closed)

Created:
3 years, 8 months ago by bcwhite
Modified:
3 years, 7 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, asvitkine+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Monitor Add for negative results. The incoming "count" should not be negative. If so, record that. Take special note if it causes the result to become negative (and clamp it). BUG=682680 Review-Url: https://codereview.chromium.org/2841143002 Cr-Commit-Position: refs/heads/master@{#467531} Committed: https://chromium.googlesource.com/chromium/src/+/9c2f79bed5d1eb92360a6c2f88d4970e63438f8f

Patch Set 1 #

Total comments: 4

Patch Set 2 : var name change and overflow detection #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -11 lines) Patch
M base/metrics/persistent_sample_map.cc View 1 2 chunks +27 lines, -11 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
bcwhite
3 years, 8 months ago (2017-04-26 19:27:15 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/2841143002/diff/1/base/metrics/persistent_sample_map.cc File base/metrics/persistent_sample_map.cc (right): https://codereview.chromium.org/2841143002/diff/1/base/metrics/persistent_sample_map.cc#newcode205 base/metrics/persistent_sample_map.cc:205: Count* bucket = GetOrCreateSampleCountStorage(min); Nit: call this bucket_value as ...
3 years, 8 months ago (2017-04-26 19:37:58 UTC) #5
bcwhite
https://codereview.chromium.org/2841143002/diff/1/base/metrics/persistent_sample_map.cc File base/metrics/persistent_sample_map.cc (right): https://codereview.chromium.org/2841143002/diff/1/base/metrics/persistent_sample_map.cc#newcode205 base/metrics/persistent_sample_map.cc:205: Count* bucket = GetOrCreateSampleCountStorage(min); On 2017/04/26 19:37:58, Alexei Svitkine ...
3 years, 8 months ago (2017-04-26 20:47:14 UTC) #10
Alexei Svitkine (slow)
lgtm
3 years, 8 months ago (2017-04-26 20:48:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2841143002/20001
3 years, 8 months ago (2017-04-26 21:03:55 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2841143002/20001
3 years, 7 months ago (2017-04-26 23:30:31 UTC) #17
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 00:41:07 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/9c2f79bed5d1eb92360a6c2f88d4...

Powered by Google App Engine
This is Rietveld 408576698