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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2727103003: [sql] Histograms for I/O calls seen by browser VFS. (Closed)
Patch Set: Rebase Created 3 years, 9 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 | « sql/vfs_wrapper.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 c2084d5e258b616d3dc75723ebcc454deee951d2..5a00a9c63edaf1c09788af7d42ba4d99e12a8f16 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -66700,6 +66700,34 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Version of pre-existing database at startup.</summary>
</histogram>
+<histogram name="Sqlite.VfsEvents" enum="SqliteVfsEvents">
+ <owner>shess@chromium.org</owner>
+ <summary>
+ I/O operations measured by browser-process SQLite VFS wrapper.
+ </summary>
+</histogram>
+
+<histogram name="Sqlite.VfsFetch" units="bytes">
jwd 2017/03/07 22:33:57 Can you reformulate the Fetch, Read, and Write his
Scott Hess - ex-Googler 2017/03/07 23:02:06 Sorry, rework them in what way? I can't really in
Maria 2017/03/08 06:27:38 I think what jwd@ is suggesting is something like
jwd 2017/03/08 15:37:46 Yes exactly, I was just suggestion a change to the
+ <owner>shess@chromium.org</owner>
+ <summary>
+ Amounts passed to browser-process SQLite VFS xFetch() function.
+ </summary>
+</histogram>
+
+<histogram name="Sqlite.VfsRead" units="bytes">
+ <owner>shess@chromium.org</owner>
+ <summary>
+ Amounts passed to browser-process SQLite VFS xRead() function.
+ </summary>
+</histogram>
+
+<histogram name="Sqlite.VfsWrite" units="bytes">
+ <owner>shess@chromium.org</owner>
+ <summary>
+ Amounts passed to browser-process SQLite VFS xWrite() function.
+ </summary>
+</histogram>
+
<histogram name="Sqlite.Web.Error" enum="SqliteErrorCode">
<obsolete>
Moved to Sqlite.Error.Web in M-27.
@@ -109709,6 +109737,21 @@ from previous Chrome versions.
<int value="5" label="DEPRECATION_RAZE_FAILED">Raze failed.</int>
</enum>
+<enum name="SqliteVfsEvents" type="int">
+ <summary>I/O events from browser-process SQLite VFS wrapper.</summary>
+ <int value="0" label="VFS_OPEN">Calls to xOpen().</int>
+ <int value="1" label="VFS_DELETE">Calls to xDelete().</int>
+ <int value="2" label="VFS_ACCESS">Calls to xAccess().</int>
+ <int value="3" label="VFS_FULLPATHNAME">Calls to xFullPath().</int>
+ <int value="4" label="VFS_IO_CLOSE">Calls to xClose().</int>
+ <int value="5" label="VFS_IO_READ">Calls to xRead().</int>
+ <int value="6" label="VFS_IO_WRITE">Calls to xWrite().</int>
+ <int value="7" label="VFS_IO_TRUNCATE">Calls to xTruncate().</int>
+ <int value="8" label="VFS_IO_SYNC">Calls to xSync().</int>
+ <int value="9" label="VFS_IO_FILESIZE">Calls to xFileSize().</int>
+ <int value="10" label="VFS_IO_FETCH">Calls to xFetch().</int>
+</enum>
+
<enum name="SRIResourceIntegrityMismatchEvent" type="int">
<int value="0" label="CHECKING_FOR_INTEGRITY_MISMATCH"/>
<int value="1" label="REFETCH_DUE_TO_INTEGRITY_MISMATCH"/>
« no previous file with comments | « sql/vfs_wrapper.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698