Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(366)

Unified Diff: tools/metrics/histograms/histograms.xml

Side-by-side diff isn't available for this file because of its large size.
Issue 24400004: Simple Cache: Add two optional stream 2 histograms (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: rebase Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « net/disk_cache/simple/simple_synchronous_entry.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 46910eed58220c1728b84b73c099c31d96183516..7f3fd77a24208f14a2bac56da9d3899efb6abba2 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -15122,6 +15122,14 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="SimpleCache.App.EntryCreatedAndStream2Omitted"
+ enum="SimpleCache.EntryCreatedAndStream2Omitted">
+ <summary>
+ Whether, upon creation of a new cache entry, the file for stream 2 was
+ omitted since that stream was empty.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.App.EntryCreationResult" enum="BooleanSuccess">
<summary>
For entry creation operations that were sent to the disk, the result of
@@ -15133,6 +15141,14 @@ other types of suffix sets.
<summary>The time, in ms, spent creating a new entry on disk.</summary>
</histogram>
+<histogram name="SimpleCache.App.EntryOpenedAndStream2Removed"
+ enum="SimpleCache.EntryOpenedAndStream2Removed">
+ <summary>
+ Whether, upon opening of an existing cache entry, stream 2 was empty and the
+ file for that stream was therefore removed.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.App.EntryOperationsPending">
<summary>
At the time that operations are run, the number of pending operations on a
@@ -15821,6 +15837,14 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="SimpleCache.Http.EntryCreatedAndStream2Omitted"
+ enum="SimpleCache.EntryCreatedAndStream2Omitted">
+ <summary>
+ Whether, upon creation of a new cache entry, the file for stream 2 was
+ omitted since that stream was empty.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.Http.EntryCreationResult" enum="BooleanSuccess">
<summary>
For entry creation operations that were sent to the disk, the result of
@@ -15832,6 +15856,14 @@ other types of suffix sets.
<summary>The time, in ms, spent creating a new entry on disk.</summary>
</histogram>
+<histogram name="SimpleCache.Http.EntryOpenedAndStream2Removed"
+ enum="SimpleCache.EntryOpenedAndStream2Removed">
+ <summary>
+ Whether, upon opening of an existing cache entry, stream 2 was empty and the
+ file for that stream was therefore removed.
+ </summary>
+</histogram>
+
<histogram name="SimpleCache.Http.EntryOperationsPending">
<summary>
At the time that operations are run, the number of pending operations on a
@@ -25417,6 +25449,16 @@ other types of suffix sets.
<int value="2" label="Dismiss"/>
</enum>
+<enum name="SimpleCache.EntryCreatedAndStream2Omitted" type="int">
+ <int value="0" label="Stream 2 file was present"/>
+ <int value="1" label="Empty stream 2 file was omitted"/>
+</enum>
+
+<enum name="SimpleCache.EntryOpenedAndStream2Removed" type="int">
+ <int value="0" label="Stream 2 file was already omitted or not empty"/>
+ <int value="1" label="Empty stream 2 file removed"/>
+</enum>
+
<enum name="SimpleCache.FileDescriptorLimitStatus" type="int">
<int value="0" label="Unsupported"/>
<int value="1" label="Supported but failed"/>
« no previous file with comments | « net/disk_cache/simple/simple_synchronous_entry.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698