summaryrefslogtreecommitdiffstats
path: root/chrome/browser/diagnostics
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to the diagnostic modecpu@chromium.org2010-01-142-11/+47
| | | | | | | | | | | | | | - bettet banner - init ICU - size checks on the critical paths BUG=none TEST=included Review URL: http://codereview.chromium.org/521050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36278 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup histogram classes mixing SetFlags into FactoryGet argumentsjar@chromium.org2009-12-281-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Generic cleanup of histogram class, renaming *FactoryGet to FactoryGet, along with reformatting. The macros were cleaned up to use common sub-macros rather than repeating code as much. Removed ThreadSafeHistogram (and associated ASSET_HISTOGRAM macros) since this class was not getting used. I introduced UMA_HISTOGRAM_ENUMERATION to support the common use of LinearHistograms to count various enumerated values. I added a Flags argument to all the FactoryGet routines to help avoid needing to call SetFlags each time a new sample is Add()ed. This also simplifies the code. This will all help prepare for a "don't histogram at all" macro setting so that I can test the impact of the histogram macro calls on performance (since there are now so many active histograms). BUG=31206 r=raman.tenneti Review URL: http://codereview.chromium.org/515033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35295 0039d316-1c4b-4281-b951-d872f2087c98
* Add some diagnostic test to diagnostic modecpu@chromium.org2009-12-205-48/+266
| | | | | | | | | | | | | | | - Move the one existing test to final location - Test more critical paths to be accessilbe and writable - Test the OS version - Test user or systemwide install type BUG=27885 TEST=unit test updated Review URL: http://codereview.chromium.org/504028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35057 0039d316-1c4b-4281-b951-d872f2087c98
* Use factory to create histograms, and refcounts to track lifetimesjar@chromium.org2009-12-061-3/+5
| | | | | | | | | | | | | | | This is CL patch 377028 by Raman Tenneti, with minor changes to make the try-bots happier. It is cleanup that better ensures lifetimes of histograms (making it harder for users to abuse them). bug=16495 (repairs leak induced by the first landing) bug=18840 (should make leaks less possible) tbr=raman.tenneti Review URL: http://codereview.chromium.org/462027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33933 0039d316-1c4b-4281-b951-d872f2087c98
* Basic console output for diagnostics mode windows-onlycpu@chromium.org2009-12-035-7/+244
| | | | | | | | | | | | Also Wires --diagnostics to the diagnostics entry point start chrome with --diagnostics and watch pretty output BUG=27885 TEST= unit tests included Review URL: http://codereview.chromium.org/454020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33663 0039d316-1c4b-4281-b951-d872f2087c98
* Introducing the diagnostic model classescpu@chromium.org2009-11-194-0/+380
| | | | | | | | | | | | | Chrome diagnostics wants to be a MVC, this is the classes that compose the model part. BUG=27885 TEST=included unit tests Review URL: http://codereview.chromium.org/385144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32494 0039d316-1c4b-4281-b951-d872f2087c98
* Move the sqlite error handler to a single locationcpu@chromium.org2009-10-152-0/+79
| | | | | | | | | | | | | | - Eliminate code duplication - Cover other 3 databases - Still doing the same as before, sending UMA histograms BUG=11908 TEST=none Review URL: http://codereview.chromium.org/270101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29073 0039d316-1c4b-4281-b951-d872f2087c98
* Empty files to kick off the diagnostic modecpu@chromium.org2009-10-134-0/+29
- Main entry point - sqlite error handler BUG=none TEST=none TBR=huanr Review URL: http://codereview.chromium.org/274033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28908 0039d316-1c4b-4281-b951-d872f2087c98