summaryrefslogtreecommitdiffstats
path: root/base/metrics/histogram_base.cc
Commit message (Collapse)AuthorAgeFilesLines
* Only HistogramBase is used outside of base/metrics.kaiwang@chromium.org2013-01-231-0/+8
| | | | | | | | | | | | | | So client code of histogram will see a simpler interface. This also makes adding SparseHistogram to existing metrics framework possible. This CL depends on https://codereview.chromium.org/11682003/ So please review that one first. TBR=sky@chromium.org,erikwright@chromium.org BUG=139612 Review URL: https://chromiumcodereview.appspot.com/11615008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178242 0039d316-1c4b-4281-b951-d872f2087c98
* Serialize/Deserialize support in HistogramBasekaiwang@chromium.org2013-01-111-0/+45
| | | | | | | | | BUG=139612,167343 Review URL: https://chromiumcodereview.appspot.com/11682003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176449 0039d316-1c4b-4281-b951-d872f2087c98
* Histogram type support in HistogramBase and remove SetRangeDescription functionkaiwang@chromium.org2012-10-311-0/+19
| | | | | | | | | BUG=139612 Review URL: https://chromiumcodereview.appspot.com/11342060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165116 0039d316-1c4b-4281-b951-d872f2087c98
* Page cyclers: output memory histograms (approach: expose JS object)marja@chromium.org2012-10-081-0/+21
| | | | | | | | | | | | | This CL makes the chrome browser expose a JS object for retrieving histograms if a command line flag is passed. Page cycler then gets the histograms by executing JS via the test automation API. BUG=145352 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=159668 Review URL: https://chromiumcodereview.appspot.com/10905073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160639 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 159668 - This broke the reference page cyclersnsylvain@chromium.org2012-10-021-21/+0
| | | | | | | | | | | | | | | | | Original description: Page cyclers: output memory histograms (approach: expose JS object) This CL makes the chrome browser expose a JS object for retrieving histograms if a command line flag is passed. Page cycler then gets the histograms by executing JS via the test automation API. BUG=145352 Review URL: https://chromiumcodereview.appspot.com/10905073 TBR=marja@chromium.org Review URL: https://codereview.chromium.org/11027020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159724 0039d316-1c4b-4281-b951-d872f2087c98
* Page cyclers: output memory histograms (approach: expose JS object)marja@chromium.org2012-10-021-0/+21
| | | | | | | | | | | This CL makes the chrome browser expose a JS object for retrieving histograms if a command line flag is passed. Page cycler then gets the histograms by executing JS via the test automation API. BUG=145352 Review URL: https://chromiumcodereview.appspot.com/10905073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159668 0039d316-1c4b-4281-b951-d872f2087c98
* Skeleton code of SparseHistogramkaiwang@chromium.org2012-08-091-1/+12
| | | | | | Review URL: https://chromiumcodereview.appspot.com/10830156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150736 0039d316-1c4b-4281-b951-d872f2087c98
* This is a major refactor of Histogram related code:kaiwang@chromium.org2012-08-011-0/+2
| | | | | | | | | | | 1. Remove duplicated code from histogram.h/.cc, including validating related code and BucketRanges related. 2. Constness of BucketRanges from Histograms, to prevent accidentally modification and provide a simpler interface. 3. Add/move tests. Review URL: https://chromiumcodereview.appspot.com/10834011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149495 0039d316-1c4b-4281-b951-d872f2087c98
* Add abstract class HistogramBase. It will be the sub class of allkaiwang@chromium.org2012-07-191-0/+14
histograms, including the planning SparseHistogram. Review URL: https://chromiumcodereview.appspot.com/10802003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147398 0039d316-1c4b-4281-b951-d872f2087c98