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

Issue 941803002: Work around exceptions when the 'high' value for a histogram is not present. This happens when the … (Closed)

Created:
5 years, 10 months ago by sullivan
Modified:
5 years, 10 months ago
Reviewers:
nednguyen
CC:
chromium-reviews, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Work around exceptions when the 'high' value for a histogram is not present. This happens when the histogram hits the max value. BUG=455349 Committed: https://crrev.com/b73fe537668cdea6cf1cbbafe734a752785f7721 Cr-Commit-Position: refs/heads/master@{#317377}

Patch Set 1 #

Patch Set 2 : fix accidentally enabled test #

Patch Set 3 : Added method in histogram_util to parse histogram buckets and correctly set 'high' value #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -12 lines) Patch
M tools/telemetry/telemetry/value/histogram.py View 1 2 1 chunk +1 line, -3 lines 1 comment Download
M tools/telemetry/telemetry/value/histogram_util.py View 1 2 4 chunks +24 lines, -9 lines 1 comment Download
M tools/telemetry/telemetry/value/histogram_util_unittest.py View 1 2 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
sullivan
Is this too hacky? The buckets come from UMA histograms, so they're not generated by ...
5 years, 10 months ago (2015-02-19 22:54:16 UTC) #2
nednguyen
I look at where the HistogramValue are created, and found that there is histogram_util that ...
5 years, 10 months ago (2015-02-19 23:07:47 UTC) #3
sullivan
On 2015/02/19 23:07:47, nednguyen wrote: > I look at where the HistogramValue are created, and ...
5 years, 10 months ago (2015-02-20 16:43:11 UTC) #4
sullivan
https://codereview.chromium.org/941803002/diff/40001/tools/telemetry/telemetry/value/histogram_util.py File tools/telemetry/telemetry/value/histogram_util.py (right): https://codereview.chromium.org/941803002/diff/40001/tools/telemetry/telemetry/value/histogram_util.py#newcode92 tools/telemetry/telemetry/value/histogram_util.py:92: key = (b['low'], b['high']) This line would be buggy ...
5 years, 10 months ago (2015-02-20 16:43:20 UTC) #5
nednguyen
lgtm https://codereview.chromium.org/941803002/diff/40001/tools/telemetry/telemetry/value/histogram.py File tools/telemetry/telemetry/value/histogram.py (right): https://codereview.chromium.org/941803002/diff/40001/tools/telemetry/telemetry/value/histogram.py#newcode10 tools/telemetry/telemetry/value/histogram.py:10: class HistogramValueBucket(object): This is a nice abstraction for ...
5 years, 10 months ago (2015-02-20 17:18:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941803002/40001
5 years, 10 months ago (2015-02-20 18:10:30 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_rel on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_rel/builds/56734)
5 years, 10 months ago (2015-02-20 18:40:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941803002/40001
5 years, 10 months ago (2015-02-20 18:52:50 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-20 19:46:59 UTC) #13
commit-bot: I haz the power
5 years, 10 months ago (2015-02-20 19:47:20 UTC) #14
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b73fe537668cdea6cf1cbbafe734a752785f7721
Cr-Commit-Position: refs/heads/master@{#317377}

Powered by Google App Engine
This is Rietveld 408576698