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

Issue 2644143006: Report reasons for a negative histogram sample count. (Closed)

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

Description

Report reasons for a negative histogram sample count. Samples reported this way will also be prevented from going negative during the upload. BUG=682680 Review-Url: https://codereview.chromium.org/2644143006 Cr-Commit-Position: refs/heads/master@{#445177} Committed: https://chromium.googlesource.com/chromium/src/+/48897934e17d9043535dd1213738cb5fce8bda89

Patch Set 1 #

Total comments: 11

Patch Set 2 : addressed review comments by asvitkine #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -0 lines) Patch
M base/metrics/persistent_sample_map.cc View 1 3 chunks +35 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
bcwhite
3 years, 11 months ago (2017-01-20 18:54:55 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/2644143006/diff/1/base/metrics/persistent_sample_map.cc File base/metrics/persistent_sample_map.cc (right): https://codereview.chromium.org/2644143006/diff/1/base/metrics/persistent_sample_map.cc#newcode21 base/metrics/persistent_sample_map.cc:21: NOT_NEGATIVE, Since you're never logging this, suggest just removing ...
3 years, 11 months ago (2017-01-20 19:11:30 UTC) #6
bcwhite
https://codereview.chromium.org/2644143006/diff/1/base/metrics/persistent_sample_map.cc File base/metrics/persistent_sample_map.cc (right): https://codereview.chromium.org/2644143006/diff/1/base/metrics/persistent_sample_map.cc#newcode21 base/metrics/persistent_sample_map.cc:21: NOT_NEGATIVE, On 2017/01/20 19:11:30, Alexei Svitkine (slow) wrote: > ...
3 years, 11 months ago (2017-01-20 19:17:06 UTC) #7
Alexei Svitkine (slow)
lgtm % comments https://codereview.chromium.org/2644143006/diff/1/base/metrics/persistent_sample_map.cc File base/metrics/persistent_sample_map.cc (right): https://codereview.chromium.org/2644143006/diff/1/base/metrics/persistent_sample_map.cc#newcode21 base/metrics/persistent_sample_map.cc:21: NOT_NEGATIVE, On 2017/01/20 19:17:06, bcwhite wrote: ...
3 years, 11 months ago (2017-01-20 19:21:30 UTC) #8
bcwhite
https://codereview.chromium.org/2644143006/diff/1/base/metrics/persistent_sample_map.cc File base/metrics/persistent_sample_map.cc (right): https://codereview.chromium.org/2644143006/diff/1/base/metrics/persistent_sample_map.cc#newcode21 base/metrics/persistent_sample_map.cc:21: NOT_NEGATIVE, On 2017/01/20 19:21:30, Alexei Svitkine (slow) wrote: > ...
3 years, 11 months ago (2017-01-20 19:59:19 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/2644143006/40001
3 years, 11 months ago (2017-01-20 21:38:26 UTC) #19
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 21:44:14 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/48897934e17d9043535dd1213738...

Powered by Google App Engine
This is Rietveld 408576698