diff options
author | lpromero@chromium.org <lpromero@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-20 17:46:47 +0000 |
---|---|---|
committer | lpromero@chromium.org <lpromero@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-20 17:46:47 +0000 |
commit | bbc2e4c6ab8afb95f5e63b7a02f8ef60c71dec9b (patch) | |
tree | 228ab5edfa0163c9c80daf33daa226b3d9fa6299 /base/base.gyp | |
parent | 473bdc43543599e19a749a530b839fac5f865e0c (diff) | |
download | chromium_src-bbc2e4c6ab8afb95f5e63b7a02f8ef60c71dec9b.zip chromium_src-bbc2e4c6ab8afb95f5e63b7a02f8ef60c71dec9b.tar.gz chromium_src-bbc2e4c6ab8afb95f5e63b7a02f8ef60c71dec9b.tar.bz2 |
Reland "Add a HistogramRecorder class and use cases."
This CL adds a utility class to streamline the task of testing that metrics have been updated as expected. Specifically, the HistogramRecorder class allows a client to obtain the differential value of a given histogram in the interval since the given HistogramRecorder instance was created.
This reverts commit b957026f43ef9464a8cdd5a240867c807b2281da.
BUG=232414
TBR=rsleevi, mark, groby, thakis
Review URL: https://codereview.chromium.org/19866004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gyp')
-rw-r--r-- | base/base.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/base.gyp b/base/base.gyp index 1c2e931..1bd8e53 100644 --- a/base/base.gyp +++ b/base/base.gyp @@ -640,6 +640,7 @@ 'template_util_unittest.cc', 'test/expectations/expectation_unittest.cc', 'test/expectations/parser_unittest.cc', + 'test/histogram_recorder_unittest.cc', 'test/test_reg_util_win_unittest.cc', 'test/trace_event_analyzer_unittest.cc', 'threading/non_thread_safe_unittest.cc', @@ -906,6 +907,8 @@ 'test/expectations/parser.h', 'test/gtest_xml_util.cc', 'test/gtest_xml_util.h', + 'test/histogram_recorder.cc', + 'test/histogram_recorder.h', 'test/launcher/test_launcher.cc', 'test/launcher/test_launcher.h', 'test/launcher/test_result.cc', |