base::HistogramTester to dump all histograms recorded for debugging purposes |
||
Issue descriptionWhen adding a new test sometimes it's nice to just code the correct behavior then look at histograms generated to see what values to add expectations for in the test. It would be nice if base::HistogramTester had a method to just LOG all the current histograms for this purpose.
,
Jun 13 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/0aacf5cbeef4375b6ad0ffc4305329b8bdd27058 commit 0aacf5cbeef4375b6ad0ffc4305329b8bdd27058 Author: Will Harris <wfh@chromium.org> Date: Wed Jun 13 16:57:50 2018 Remove LOG line accidently left in from previous commit. BUG= 850580 Change-Id: I4ee21e0a6417431c02fd16b6bcf4972918157b94 Reviewed-on: https://chromium-review.googlesource.com/1099189 Commit-Queue: Will Harris <wfh@chromium.org> Commit-Queue: Alexei Svitkine <asvitkine@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Cr-Commit-Position: refs/heads/master@{#566877} [modify] https://crrev.com/0aacf5cbeef4375b6ad0ffc4305329b8bdd27058/base/test/metrics/histogram_tester_unittest.cc
,
Jun 19 2018
the API is GetAllHistogramsRecorded() |
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Jun 13 2018