summaryrefslogtreecommitdiffstats
path: root/tools/metrics
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-16 19:17:21 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-16 19:17:21 +0000
commit15995a8cf436ea8c39186c834edb0842d0e790e8 (patch)
treeb839f6e61c5cbb5ae100407048b3cab197841908 /tools/metrics
parent75ec9e1a1ff860788ee9f4b10587fbf777ce4c98 (diff)
downloadchromium_src-15995a8cf436ea8c39186c834edb0842d0e790e8.zip
chromium_src-15995a8cf436ea8c39186c834edb0842d0e790e8.tar.gz
chromium_src-15995a8cf436ea8c39186c834edb0842d0e790e8.tar.bz2
Histograms.xml changes to go with codereview.chromium.org/227943003
Doing this in a separate CL to make a potential merge easier BUG=360909 R=asvitkine@chromium.org Review URL: https://codereview.chromium.org/236023005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264275 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/metrics')
-rw-r--r--tools/metrics/histograms/histograms.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 0ea0e00..edaef6f 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6748,6 +6748,52 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="ExtensionUrlRequest.HashTimeMs" units="milliseconds">
+ <owner>asargent@chromium.org</owner>
+ <summary>
+ The total time taken to compute a cryptographic hash of the content read for
+ a chrome-extension:// URL, logged at the end of each request we load from
+ the corresponding file for that URL in the filesystem.
+ </summary>
+</histogram>
+
+<histogram name="ExtensionUrlRequest.OnReadCompleteError" enum="NetErrorCodes">
+ <owner>asargent@chromium.org</owner>
+ <summary>
+ The error code for failures of incremental reads of a file stream for a
+ chrome-extension:// URL. (See also ExtensionUrlRequest.OnReadCompleteResult
+ for the success case).
+ </summary>
+</histogram>
+
+<histogram name="ExtensionUrlRequest.OnReadCompleteResult">
+ <owner>asargent@chromium.org</owner>
+ <summary>
+ The result of an incremental read of a file stream for a chrome-extension://
+ URL, representing a byte count. Logged in success cases (see also
+ ExtensionUrlRequest.OnReadCompleteError).
+ </summary>
+</histogram>
+
+<histogram name="ExtensionUrlRequest.SeekPosition">
+ <owner>asargent@chromium.org</owner>
+ <summary>
+ When fetching a chrome-extension:// URL, this indicates the first byte
+ position we read from. This will be greater than 0 in cases such as XHR's
+ with a Range header, but will normally be 0 in the typical case of reading
+ the entire file. This helps identify how frequently partial file reads are
+ taking place.
+ </summary>
+</histogram>
+
+<histogram name="ExtensionUrlRequest.TotalKbRead" units="KB">
+ <owner>asargent@chromium.org</owner>
+ <summary>
+ The total number of bytes read for a chrome-extension:// URL, logged when
+ the job is finished (either successfully or not).
+ </summary>
+</histogram>
+
<histogram name="FileBrowser.Create" enum="FileDialogType">
<owner>joshwoodward@google.com</owner>
<summary>Chrome OS File Browser opening mode.</summary>