Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 231196dbec0872174bc4f12ea8d1d481d8f6a10c..ca06de882765a77499198f40bea6183f8bc703bd 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -294,52 +294,52 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
<histogram name="appcache.CheckResponseResult" |
enum="AppCacheCheckResponseResult"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary>AppCache check response result code.</summary> |
</histogram> |
<histogram name="appcache.CompletionQueueTime" units="milliseconds"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary> |
Time elapsed between a completion task being queued and run. |
</summary> |
</histogram> |
<histogram name="appcache.CompletionRunTime" units="milliseconds"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary> |
The amount of time taken to run a completion task on the IO thread. |
</summary> |
</histogram> |
<histogram name="appcache.CorruptionDetected"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary> |
Tracks the number of times corruption is detected in the sql database. |
</summary> |
</histogram> |
<histogram name="appcache.InitResult" enum="AppCacheInitResult"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary>AppCache initialization result code.</summary> |
</histogram> |
<histogram name="appcache.JobStartDelay.AppCache" units="milliseconds"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary> |
How long URLRequests to be retrieved from the appcache are delayed. |
</summary> |
</histogram> |
<histogram name="appcache.JobStartDelay.Error" units="milliseconds"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary> |
How long URLRequests that result in a synthesized error are delayed. |
</summary> |
</histogram> |
<histogram name="appcache.JobStartDelay.Network" units="milliseconds"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary> |
How long URLRequests to be retrieved over the network are delayed. |
</summary> |
@@ -354,12 +354,12 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
<histogram name="appcache.MissingManifestDetectedAtCallsite" |
enum="AppCacheErrorSite"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary>Identifies where a missing manifest was detected occured.</summary> |
</histogram> |
<histogram name="appcache.MissingManifestEntry" enum="BooleanSuccess"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary> |
Logged on each occurrence of there being no record for the manifest file in |
the entries table. |
@@ -367,7 +367,7 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="appcache.ReinitAttempt"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary> |
Tracks the number of times the appcache reinit process occurs. The boolean |
value indicates whether it was a repeated attempt to reinitialize during a |
@@ -383,19 +383,19 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</histogram> |
<histogram name="appcache.TaskQueueTime" units="milliseconds"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary> |
Time elapsed between a background task being queued and run. |
</summary> |
</histogram> |
<histogram name="appcache.TaskRunTime" units="milliseconds"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary>The amount of time taken to run a background task.</summary> |
</histogram> |
<histogram name="appcache.UpdateJobResult" enum="AppCacheUpdateJobResult"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
<summary>AppCache update job result code.</summary> |
</histogram> |
@@ -4159,11 +4159,213 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
+<histogram name="DiskCache.3.AsyncIOTime" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The time for an async IO operation to complete. This covers content Writes |
+ and Reads, measured from the cache thread. AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.AsyncReadDispatchTime" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>The synchronous portion of an async read. AppCache.</summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.AsyncWriteDispatchTime" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>The synchronous portion of an async write. AppCache.</summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.AverageOpenEntries2"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The average number of open disk cache entries at any given time. AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.BufferBytes" units="KB"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>The total size of all the internal buffers. AppCache.</summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.ByteIORate" units="KB"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The number of KB accessed from the cache in a 30 seconds interval. AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.CreateTime" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>The time spent creating a new entry on the cache. AppCache.</summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.DeleteData" units="bytes"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The size of the data portion of a given entry by the time it is deleted. |
+ AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.DeleteFailed"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ Number of external files that we were unable to delete. AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.DeleteHeader" units="bytes"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The size of the HTML headers of a given entry by the time it is deleted. |
+ AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.Entries"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The number of entries currently stored on the cache. AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.EntriesFull"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The number of entries currently stored on the cache, after it is full. |
+ AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.EntryAccessRate"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The number of entries accessed by the cache in a 30 seconds interval. |
+ AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.Error" enum="DiskCacheError"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>Critical error ids. AppCache.</summary> |
+</histogram> |
+ |
<histogram name="DiskCache.3.FilesAge" units="hours"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
<summary>The age of the cache's files (wall time). AppCache.</summary> |
</histogram> |
+<histogram name="DiskCache.3.GetRankings" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The time spent reading the LRU-related portion of an entry. AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.HitRatioBySize2" units="MB"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The hit ratio for each size. To calculate the hit ratio of caches of a |
+ certain size, take the ratio of a bin in this histogram to the same bin in |
+ DiskCache.3.Size2. AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.KeySize" units="bytes"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>The size of each key. AppCache.</summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.MaxOpenEntries2"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The maximum number of simultaneously open disk cache entries. AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.MaxSize2" units="MB"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>The maximum size of the cache. AppCache.</summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.OpenTime" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The time spent opening an entry already on the cache (cache hit). AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.PendingIO"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>The number of pending IO operations (Async IO). AppCache.</summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.ReadTime" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>The time spent reading from an entry. AppCache.</summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.Size" units="MB"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>The current size of the cache. AppCache.</summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.TotalIOTime" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The total time it takes to perform a payload IO operation (AKA, directed to |
+ an entry). This is measured from the IO thread. AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.TotalTime" units="hours"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>Number of hours that the cache has been used. AppCache.</summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.UsedSpace" units="%"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary> |
+ The percentage of the allowed disk space that we are currently using. |
+ AppCache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DiskCache.3.WriteTime" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <owner>rvargas@chromium.org</owner> |
+ <summary>The time spent writing to an entry. AppCache.</summary> |
+</histogram> |
+ |
<histogram name="DiskCache.4.FilesAge" units="hours"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary>The age of the cache's files (wall time). ShaderCache.</summary> |
@@ -5005,6 +5207,49 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
</summary> |
</histogram> |
+<histogram name="DOMStorage.clear" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Duration to execute localStorage.clear() or sessionStorage.clear(). |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DOMStorage.getItem" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Duration to execute localStorage.getItem() or sessionStorage.getItem(). |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DOMStorage.key" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Duration to execute localStorage.key() or sessionStorage.key(). |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DOMStorage.length" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Duration to execute localStorage.length() or sessionStorage.length(). |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DOMStorage.removeItem" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Duration to execute localStorage.removeItem() or |
+ sessionStorage.removeItem(). |
+ </summary> |
+</histogram> |
+ |
+<histogram name="DOMStorage.setItem" units="milliseconds"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Duration to execute localStorage.setItem() or sessionStorage.setItem(). |
+ </summary> |
+</histogram> |
+ |
<histogram name="Download.AcceptRangesBytes.KBytes" units="KB"> |
<owner>asanka@chromium.org</owner> |
<summary>The length of downloads for serves that accept byte ranges.</summary> |
@@ -10687,6 +10932,42 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
<summary>Records events related to local discovery notifications.</summary> |
</histogram> |
+<histogram name="LocalStorage.BrowserLocalStorageSizeInKB" units="KB"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Size of the HTML5 LocalStorage DB in KB in the browser-side cache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="LocalStorage.BrowserTimeToPrimeLocalStorage"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Time to load HTML5 LocalStorage into the browser-side cache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="LocalStorage.RendererLocalStorageSizeInKB" units="KB"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Size of the HTML5 LocalStorage DB in KB in the renderer-side cache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="LocalStorage.RendererTimeToPrimeLocalStorage"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Time to load HTML5 LocalStorage into the renderer-side cache. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="LocalStorage.TimeToPrimeLocalStorage"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Time to load HTML5 LocalStorage into the renderer-side cache. Note that the |
+ name is not 'Renderer' prefixed for continuity with the old naming. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Login.ConsumerNewUsersAllowed" enum="LoginConsumerWhitelist"> |
<owner>cmasone@chromium.org</owner> |
<owner>sumit@chromium.org</owner> |
@@ -28367,6 +28648,14 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
<summary>How did the user interact with the SessionCrashed Bubble?</summary> |
</histogram> |
+<histogram name="SessionStorageDatabase.Open" enum="SessionStorageDatabaseOpen"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ The result (success, failure, or database recreated) of trying to open the |
+ LevelDB database for sessionStorage. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Settings.DefaultSearchProvider" enum="OmniboxSearchEngine"> |
<obsolete> |
Deprecated in Chrome 30. Use Search.DefaultSearchProviderType instead. |
@@ -38612,6 +38901,26 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
<int value="3" label="Primary accounts present but different"/> |
</enum> |
+<enum name="DiskCacheError" type="int"> |
+ <summary>Error codes defined in net/disk_cache/errors.h</summary> |
+ <int value="0" label="OK"/> |
+ <int value="1" label="Init failed"/> |
+ <int value="2" label="Invalid tail (corrupt list)"/> |
+ <int value="3" label="Invalid head (corrupt list)"/> |
+ <int value="4" label="Invalid prev (corrupt list link)"/> |
+ <int value="5" label="Invalid next (corrupt list link)"/> |
+ <int value="6" label="Invalid entry (beyond dirty)"/> |
+ <int value="7" label="Invalid address (single entry)"/> |
+ <int value="8" label="Invalid links (single entry)"/> |
+ <int value="9" label="Number of entries mistmatch"/> |
+ <int value="10" label="Read failure (single entry)"/> |
+ <int value="11" label="Previous crash (Destructor not called)"/> |
+ <int value="12" label="Storage error (Unable to open / create main files)"/> |
+ <int value="13" label="Invalid mask (corrupt header)"/> |
+ <int value="14" label="Cache cleared (user request)"/> |
+ <int value="15" label="Cache created (from empty files)"/> |
+</enum> |
+ |
<enum name="DllHash" type="int"> |
<!-- Generated by chrome_elf/dll_hash/dll_hash_main.cc --> |
@@ -48854,6 +49163,16 @@ To add a new entry, add it with any value and run test to compute valid value. |
<int value="3" label="Specified URLs"/> |
</enum> |
+<enum name="SessionStorageDatabaseOpen" type="int"> |
+ <int value="0" label="OK">Succesfully opened the database.</int> |
+ <int value="1" label="Recovered"> |
+ Failed to open the existing db, deleted it, and created a new empty db. |
+ </int> |
+ <int value="2" label="Total Fail"> |
+ Failed to open the database and also failed to delete and start over. |
+ </int> |
+</enum> |
+ |
<enum name="ShelfAlignmentValue" type="int"> |
<summary> |
The alignment of the shelf area (see ash/launcher/launcher_view.cc). |
@@ -48872,6 +49191,12 @@ To add a new entry, add it with any value and run test to compute valid value. |
<int value="1" label="Failure"/> |
</enum> |
+<enum name="ShortReportReason" type="int"> |
+ <int value="1" label="No create time"/> |
+ <int value="2" label="Not full"/> |
+ <int value="3" label="Not full and no create time"/> |
+</enum> |
+ |
<enum name="ShutdownReason" type="int"> |
<summary> |
The reason that the Chrome OS power manager shut down or rebooted the |
@@ -52191,6 +52516,14 @@ To add a new entry, add it with any value and run test to compute valid value. |
<affected-histogram name="LevelDBEnv.TimeTo"/> |
</histogram_suffixes> |
+<histogram_suffixes name="LocalStorageSizes" separator=""> |
+ <suffix name="Under100KB" label="DB size under 100KB"/> |
+ <suffix name="100KBTo1MB" label="DB size between 100KB and 1MB"/> |
+ <suffix name="1MBTo5MB" label="DB size between 1MB and 5MB"/> |
+ <affected-histogram name="LocalStorage.BrowserTimeToPrimeLocalStorage"/> |
+ <affected-histogram name="LocalStorage.RendererTimeToPrimeLocalStorage"/> |
+</histogram_suffixes> |
+ |
<histogram_suffixes name="MediaAudioInputControllerTime" separator="."> |
<suffix name="CloseTime" label="Measures the time taken for DoClose()."/> |
<suffix name="CreateTime" label="Measures the time taken for DoCreate()."/> |