summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/external_metrics.cc
Commit message (Collapse)AuthorAgeFilesLines
* Measure the time it takes to collect external metrics.petkov@chromium.org2010-07-011-0/+3
| | | | | | | | | | | | | As we add more metrics to Chrome OS, it makes sense to monitor this to ensure it doesn't become a performance issue given that the code runs every 30 seconds. BUG=none TEST=installed on device,looked at about:histograms,ran unit tests Review URL: http://codereview.chromium.org/2814043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51422 0039d316-1c4b-4281-b951-d872f2087c98
* Landing http://codereview.chromium.org/1735003chocobo@chromium.org2010-04-211-2/+10
| | | | | | | | | | | Fixed histogram creation and retrieval for dynamic histogram samples. TEST=none BUG=none TBR=semenzato Review URL: http://codereview.chromium.org/1710006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45234 0039d316-1c4b-4281-b951-d872f2087c98
* Lands http://codereview.chromium.org/1610030/show from Luigi:sky@chromium.org2010-04-211-174/+67
| | | | | | | | | | | | | | | | | | This changes makes histograms dynamically defined by external metrics clients, instead of hardcoding them in Chrome source. This is important because making even simple changes to Chrome is laborious and takes a fair amount of learning. Unfortunately user actions still require code in Chrome, because of a pre-processing script that extracts them from the source. BUG=NONE TEST=the included unit test Review URL: http://codereview.chromium.org/1718003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45189 0039d316-1c4b-4281-b951-d872f2087c98
* UMA cleanup. Replacing calls to RecordAction(char*) to use a new structure.evan@chromium.org2010-03-231-4/+6
| | | | | | | | | | | | That way it is easier to keep track of those constants in reporting tools. TEST=Covered with standard ui tests Patch by Frank Mantek <fmantek@google.com>. Review URL: http://codereview.chromium.org/811005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42362 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add some network metrics to the external metrics transport.derat@chromium.org2009-12-161-4/+84
| | | | | | | | | | | | | Also test all metrics names in the unit test. (change is by semenzato@chromium.org and was already reviewed by rvargas at http://codereview.chromium.org/489008) TBR=semenzato Review URL: http://codereview.chromium.org/500041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34636 0039d316-1c4b-4281-b951-d872f2087c98
* Still fixing ChromiumOS build.phajdan.jr@chromium.org2009-12-021-0/+1
| | | | | | | | TBR=thestig Review URL: http://codereview.chromium.org/459013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33564 0039d316-1c4b-4281-b951-d872f2087c98
* Use plain strings instead of wstrings for UMA actionsevan@chromium.org2009-11-171-2/+2
| | | | | | | | | | | | git grep 'RecordAction(L' | xargs sed -i -e s/RecordAction(L/RecordAction(/ This cuts more than 10k off my binary. Which is nothing compared to the size of the binary, but that's a whole lot of zero bytes! This is less code this way anyway. Review URL: http://codereview.chromium.org/399026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32194 0039d316-1c4b-4281-b951-d872f2087c98
* Use Chrome to transport Chrome OS metrics. rvargas@google.com2009-11-131-0/+252
Chrome periodically reads the content of a well-know file, and parses it into name-value pairs, each representing a Chrome OS metrics event. The events are then logged using the normal UMA mechanism. The file is then truncated to zero size. Chrome uses flock() to synchronize accesses to the file. BUG=none TEST=compiled and run Linux and Chrome OS versions. Verified that uploaded Chrome OS events appear in about:histograms. Also external_metrics_unittest.cc tests the collection of metrics messages from the well-known file. patch written by semenzato_google.com original code review: http://codereview.chromium.org/378013 (plus http://codereview.chromium.org/346041) Review URL: http://codereview.chromium.org/394010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31952 0039d316-1c4b-4281-b951-d872f2087c98