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

Side by Side Diff: tools/metrics/histograms/histograms.xml

Issue 14976003: Histogram versions and extended error codes for SQLite databases. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Jim says it can just use the same histogram name... Created 7 years, 7 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:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sql/meta_table.cc ('k') | webkit/appcache/appcache_database.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!-- 1 <!--
2 Copyright 2013 The Chromium Authors. All rights reserved. 2 Copyright 2013 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <!-- 7 <!--
8 This file is used to generate a comprehensive list of Chrome histograms along 8 This file is used to generate a comprehensive list of Chrome histograms along
9 with a detailed description for each histogram. 9 with a detailed description for each histogram.
10 10
(...skipping 6902 matching lines...) Expand 10 before | Expand all | Expand 10 after
6913 <summary> 6913 <summary>
6914 The platform error of attempting to create a new cache entry. 6914 The platform error of attempting to create a new cache entry.
6915 </summary> 6915 </summary>
6916 </histogram> 6916 </histogram>
6917 6917
6918 <histogram name="SimpleCache.SyncOpenResult" enum="SimpleCacheSyncOpenResult"> 6918 <histogram name="SimpleCache.SyncOpenResult" enum="SimpleCacheSyncOpenResult">
6919 <summary>The result of attempting to create a new cache entry.</summary> 6919 <summary>The result of attempting to create a new cache entry.</summary>
6920 </histogram> 6920 </histogram>
6921 6921
6922 <histogram name="Sqlite.AppCache.Error" enum="SqliteErrorCode"> 6922 <histogram name="Sqlite.AppCache.Error" enum="SqliteErrorCode">
6923 <summary>Error codes returned by sqlite for the appcache db.</summary> 6923 <summary>SQLite extended error codes for appcache db.</summary>
6924 </histogram>
6925
6926 <histogram name="Sqlite.AppCache.Version">
jar (doing other things) 2013/05/14 02:12:46 nit: A bunch of these histograms have a postfix of
Scott Hess - ex-Googler 2013/05/14 03:43:18 I am not sure I understand your suggestion. Using
6927 <summary>Appcache db version at startup.</summary>
6924 </histogram> 6928 </histogram>
6925 6929
6926 <histogram name="Sqlite.Cookie.Error" enum="SqliteErrorCode"> 6930 <histogram name="Sqlite.Cookie.Error" enum="SqliteErrorCode">
6927 <summary>Error codes returned by sqlite the cookie db.</summary> 6931 <summary>SQLite extended error codes for cookie db.</summary>
6932 </histogram>
6933
6934 <histogram name="Sqlite.Cookie.Version">
6935 <summary>Cookie db version at startup.</summary>
6928 </histogram> 6936 </histogram>
6929 6937
6930 <histogram name="Sqlite.DatabaseTracker.Error" enum="SqliteErrorCode"> 6938 <histogram name="Sqlite.DatabaseTracker.Error" enum="SqliteErrorCode">
6931 <summary>Error codes returned by sqlite the websqldb tracker db.</summary> 6939 <summary>SQLite extended error codes for websqldb tracker db.</summary>
6940 </histogram>
6941
6942 <histogram name="Sqlite.DatabaseTracker.Version">
6943 <summary>Websqldb tracker db version at startup.</summary>
6932 </histogram> 6944 </histogram>
6933 6945
6934 <histogram name="Sqlite.DomainBoundCerts.Error" enum="SqliteErrorCode"> 6946 <histogram name="Sqlite.DomainBoundCerts.Error" enum="SqliteErrorCode">
6935 <summary> 6947 <summary>SQLite extended error codes for domain-bound certs db.</summary>
6936 Error codes returned by sqlite for the domain-bound certs db. 6948 </histogram>
6937 </summary> 6949
6950 <histogram name="Sqlite.DomainBoundCerts.Version">
6951 <summary>Domain-bound certs db version at startup.</summary>
6938 </histogram> 6952 </histogram>
6939 6953
6940 <histogram name="Sqlite.DomStorageDatabase.Error" enum="SqliteErrorCode"> 6954 <histogram name="Sqlite.DomStorageDatabase.Error" enum="SqliteErrorCode">
6941 <summary>Error codes returned by sqlite for the domstorage db.</summary> 6955 <summary>SQLite extended error codes for domstorage db.</summary>
6956 </histogram>
6957
6958 <histogram name="Sqlite.DomStorageDatabase.Version">
6959 <summary>Domstorage db version at startup.</summary>
6942 </histogram> 6960 </histogram>
6943 6961
6944 <histogram name="Sqlite.Error" enum="SqliteErrorCode"> 6962 <histogram name="Sqlite.Error" enum="SqliteErrorCode">
6945 <summary>Error codes returned by sqlite for all databases.</summary> 6963 <summary>SQLite extended error codes for all databases.</summary>
6946 </histogram> 6964 </histogram>
6947 6965
6948 <histogram name="Sqlite.Error.IOERR" enum="SqliteIOERRCode"> 6966 <histogram name="Sqlite.Error.IOERR" enum="SqliteIOERRCode">
6949 <summary>Error codes returned by sqlite for all databases.</summary> 6967 <obsolete>
6968 Replaced 5/8/2013 by Sqlite.Error sparse histogram.
6969 </obsolete>
6970 <summary>SQLite extended SQLITE_IOERR codes for all databases.</summary>
6950 </histogram> 6971 </histogram>
6951 6972
6952 <histogram name="Sqlite.History.Error" enum="SqliteErrorCode"> 6973 <histogram name="Sqlite.History.Error" enum="SqliteErrorCode">
6953 <summary>Error codes returned by sqlite for the history db.</summary> 6974 <summary>SQLite extended error codes for history db.</summary>
6975 </histogram>
6976
6977 <histogram name="Sqlite.History.Version">
6978 <summary>History db version at startup.</summary>
6954 </histogram> 6979 </histogram>
6955 6980
6956 <histogram name="Sqlite.Quota.Error" enum="SqliteErrorCode"> 6981 <histogram name="Sqlite.Quota.Error" enum="SqliteErrorCode">
6957 <summary>Error codes returned by sqlite for the quota db.</summary> 6982 <summary>SQLite extended error codes for quota db.</summary>
6983 </histogram>
6984
6985 <histogram name="Sqlite.Quota.Version">
6986 <summary>Quota db version at startup.</summary>
6958 </histogram> 6987 </histogram>
6959 6988
6960 <histogram name="Sqlite.Text.Error" enum="SqliteErrorCode"> 6989 <histogram name="Sqlite.Text.Error" enum="SqliteErrorCode">
6961 <summary>Error codes returned by sqlite the full text db.</summary> 6990 <summary>SQLite extended error codes for full text db.</summary>
6991 </histogram>
6992
6993 <histogram name="Sqlite.Text.Version">
6994 <summary>Full-text db version at startup.</summary>
6962 </histogram> 6995 </histogram>
6963 6996
6964 <histogram name="Sqlite.Thumbnail.Error" enum="SqliteErrorCode"> 6997 <histogram name="Sqlite.Thumbnail.Error" enum="SqliteErrorCode">
6965 <summary>Error codes returned by sqlite for the thumbnail db.</summary> 6998 <summary>SQLite extended error codes for thumbnail db.</summary>
6999 </histogram>
7000
7001 <histogram name="Sqlite.Thumbnail.Version">
7002 <summary>Thumbnail db version at startup.</summary>
7003 </histogram>
7004
7005 <histogram name="Sqlite.TopSites.Error" enum="SqliteErrorCode">
7006 <summary>SQLite extended error codes for top sites db.</summary>
7007 </histogram>
7008
7009 <histogram name="Sqlite.TopSites.Version">
7010 <summary>Top sites db version at startup.</summary>
6966 </histogram> 7011 </histogram>
6967 7012
6968 <histogram name="Sqlite.Web.Error" enum="SqliteErrorCode"> 7013 <histogram name="Sqlite.Web.Error" enum="SqliteErrorCode">
6969 <summary>Error codes returned by sqlite the web db.</summary> 7014 <summary>SQLite extended error codes for web db.</summary>
7015 </histogram>
7016
7017 <histogram name="Sqlite.Web.Version">
7018 <summary>Web db version at startup.</summary>
6970 </histogram> 7019 </histogram>
6971 7020
6972 <histogram name="Tab.SwitchedToForegroundAge" units="ms"> 7021 <histogram name="Tab.SwitchedToForegroundAge" units="ms">
6973 <summary>Age (in ms) when the tab was switched to foreground.</summary> 7022 <summary>Age (in ms) when the tab was switched to foreground.</summary>
6974 </histogram> 7023 </histogram>
6975 7024
6976 <histogram name="Tab.SwitchedToForegroundLaunchedWithURL" 7025 <histogram name="Tab.SwitchedToForegroundLaunchedWithURL"
6977 enum="TabSwitchedToForegroundLaunchedWithURL"> 7026 enum="TabSwitchedToForegroundLaunchedWithURL">
6978 <summary> 7027 <summary>
6979 Each time a tab is brought to the foreground, this histogram indicates if 7028 Each time a tab is brought to the foreground, this histogram indicates if
(...skipping 3731 matching lines...) Expand 10 before | Expand all | Expand 10 after
10711 <int value="0" label="not received"/> 10760 <int value="0" label="not received"/>
10712 <int value="1" label="received"/> 10761 <int value="1" label="received"/>
10713 </enum> 10762 </enum>
10714 10763
10715 <enum name="SpdySettingsSent" type="int"> 10764 <enum name="SpdySettingsSent" type="int">
10716 <int value="0" label="not sent"/> 10765 <int value="0" label="not sent"/>
10717 <int value="1" label="sent"/> 10766 <int value="1" label="sent"/>
10718 </enum> 10767 </enum>
10719 10768
10720 <enum name="SqliteErrorCode" type="int"> 10769 <enum name="SqliteErrorCode" type="int">
10721 <summary>Error codes returned by SQLite - see sqlite.h</summary> 10770 <summary>Error codes returned by SQLite - see sqlite3.h</summary>
10722 <int value="0" label="SQLITE_OK">Successful result</int> 10771 <int value="0" label="SQLITE_OK">Successful result</int>
10723 <int value="1" label="SQLITE_ERROR">SQL error or missing database</int> 10772 <int value="1" label="SQLITE_ERROR">SQL error or missing database</int>
10724 <int value="2" label="SQLITE_INTERNAL"> 10773 <int value="2" label="SQLITE_INTERNAL">
10725 NOT USED. Internal logic error in SQLite 10774 NOT USED. Internal logic error in SQLite
10726 </int> 10775 </int>
10727 <int value="3" label="SQLITE_PERM">Access permission denied</int> 10776 <int value="3" label="SQLITE_PERM">Access permission denied</int>
10728 <int value="4" label="SQLITE_ABORT">Callback routine requested an abort</int> 10777 <int value="4" label="SQLITE_ABORT">Callback routine requested an abort</int>
10729 <int value="5" label="SQLITE_BUSY">The database file is locked</int> 10778 <int value="5" label="SQLITE_BUSY">The database file is locked</int>
10730 <int value="6" label="SQLITE_LOCKED">A table in the database is locked</int> 10779 <int value="6" label="SQLITE_LOCKED">A table in the database is locked</int>
10731 <int value="7" label="SQLITE_NOMEM">A malloc() failed</int> 10780 <int value="7" label="SQLITE_NOMEM">A malloc() failed</int>
(...skipping 26 matching lines...) Expand all
10758 Abort due to contraint violation 10807 Abort due to contraint violation
10759 </int> 10808 </int>
10760 <int value="20" label="SQLITE_MISMATCH">Data type mismatch</int> 10809 <int value="20" label="SQLITE_MISMATCH">Data type mismatch</int>
10761 <int value="21" label="SQLITE_MISUSE">Library used incorrectly</int> 10810 <int value="21" label="SQLITE_MISUSE">Library used incorrectly</int>
10762 <int value="22" label="SQLITE_NOLFS"> 10811 <int value="22" label="SQLITE_NOLFS">
10763 Uses OS features not supported on host 10812 Uses OS features not supported on host
10764 </int> 10813 </int>
10765 <int value="23" label="SQLITE_AUTH">Authorization denied</int> 10814 <int value="23" label="SQLITE_AUTH">Authorization denied</int>
10766 <int value="24" label="SQLITE_FORMAT">Auxiliary database format error</int> 10815 <int value="24" label="SQLITE_FORMAT">Auxiliary database format error</int>
10767 <int value="25" label="SQLITE_RANGE"> 10816 <int value="25" label="SQLITE_RANGE">
10768 2nd parameter to sqlite3_bind out of range 10817 2nd parameter to sqlite3_bind() out of range
10769 </int> 10818 </int>
10770 <int value="26" label="SQLITE_NOTADB"> 10819 <int value="26" label="SQLITE_NOTADB">
10771 File opened that is not a database file 10820 File opened that is not a database file
10772 </int> 10821 </int>
10773 <int value="100" label="SQLITE_ROW">sqlite3_step() has another row ready</int> 10822 <int value="100" label="SQLITE_ROW">sqlite3_step() has another row ready</int>
10774 <int value="101" label="SQLITE_DONE"> 10823 <int value="101" label="SQLITE_DONE">
10775 sqlite3_step() has finished executing 10824 sqlite3_step() has finished executing
10776 </int> 10825 </int>
10826 <int value="261" label="SQLITE_BUSY_RECOVERY">TBD</int>
10827 <int value="262" label="SQLITE_LOCKED_SHAREDCACHE">TBD</int>
10828 <int value="266" label="SQLITE_IOERR_READ">Error reading from file</int>
10829 <int value="270" label="SQLITE_CANTOPEN_NOTEMPDIR">TBD</int>
10830 <int value="522" label="SQLITE_IOERR_SHORT_READ">Short read from file</int>
10831 <int value="778" label="SQLITE_IOERR_WRITE">
10832 Error writing to file (other than SQLITE_FULL)
10833 </int>
10834 <int value="1034" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int>
10835 <int value="1290" label="SQLITE_IOERR_DIR_FSYNC">
10836 Error syncing directory changes to disk
10837 </int>
10838 <int value="1546" label="SQLITE_IOERR_TRUNCATE">Error truncating file</int>
10839 <int value="1802" label="SQLITE_IOERR_FSTAT">Error reading file metadata</int>
10840 <int value="2058" label="SQLITE_IOERR_UNLOCK">Error unlocking file</int>
10841 <int value="2314" label="SQLITE_IOERR_RDLOCK">
10842 Error getting read lock - should not be possible
10843 </int>
10844 <int value="2570" label="SQLITE_IOERR_DELETE">Error deleting file</int>
10845 <int value="2826" label="SQLITE_IOERR_BLOCKED">
10846 Deadlock due to other process access to SQLite files
10847 </int>
10848 <int value="3082" label="SQLITE_IOERR_NOMEM">Error mapping shared memory</int>
10849 <int value="3338" label="SQLITE_IOERR_ACCESS">
10850 Error getting file attributes (other than not found)
10851 </int>
10852 <int value="3594" label="SQLITE_IOERR_CHECKRESERVEDLOCK">
10853 Error while querying lock status
10854 </int>
10855 <int value="3850" label="SQLITE_IOERR_LOCK">Error acquiring lock</int>
10856 <int value="4106" label="SQLITE_IOERR_CLOSE">Error closing file</int>
10857 <int value="4362" label="SQLITE_IOERR_DIR_CLOSE">Unused</int>
10858 <int value="4618" label="SQLITE_IOERR_SHMOPEN">Error mmapping file</int>
10859 <int value="4874" label="SQLITE_IOERR_SHMSIZE">
10860 Error in stat while mmapping file
10861 </int>
10862 <int value="5130" label="SQLITE_IOERR_SHMLOCK">Unused</int>
10777 </enum> 10863 </enum>
10778 10864
10779 <enum name="SqliteIOERRCode" type="int"> 10865 <enum name="SqliteIOERRCode" type="int">
10780 <summary>Extended error codes returned by SQLite - see sqlite.h</summary> 10866 <obsolete>
10867 Replaced 5/8/2013 by Sqlite.Error sparse histogram.
10868 </obsolete>
10869 <summary>Extended error codes returned by SQLite - see sqlite3.h</summary>
10781 <int value="0" label="SQLITE_IOERR">No extended code given</int> 10870 <int value="0" label="SQLITE_IOERR">No extended code given</int>
10782 <int value="1" label="SQLITE_IOERR_READ">Error reading from file</int> 10871 <int value="1" label="SQLITE_IOERR_READ">Error reading from file</int>
10783 <int value="2" label="SQLITE_IOERR_SHORT_READ">Short read from file</int> 10872 <int value="2" label="SQLITE_IOERR_SHORT_READ">Short read from file</int>
10784 <int value="3" label="SQLITE_IOERR_WRITE"> 10873 <int value="3" label="SQLITE_IOERR_WRITE">
10785 Error writing to file (other than SQLITE_FULL) 10874 Error writing to file (other than SQLITE_FULL)
10786 </int> 10875 </int>
10787 <int value="4" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int> 10876 <int value="4" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int>
10788 <int value="5" label="SQLITE_IOERR_DIR_FSYNC"> 10877 <int value="5" label="SQLITE_IOERR_DIR_FSYNC">
10789 Error syncing directory changes to disk 10878 Error syncing directory changes to disk
10790 </int> 10879 </int>
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
12208 <fieldtrial name="SSLResumption"> 12297 <fieldtrial name="SSLResumption">
12209 <group name="Resume_Handshake" label="Session Resumption"/> 12298 <group name="Resume_Handshake" label="Session Resumption"/>
12210 <group name="Full_Handshake" label="Full"/> 12299 <group name="Full_Handshake" label="Full"/>
12211 <affected-histogram name="Net.SSL_Connection_Latency"/> 12300 <affected-histogram name="Net.SSL_Connection_Latency"/>
12212 <affected-histogram name="Net.SSL_Connection_Latency_Google"/> 12301 <affected-histogram name="Net.SSL_Connection_Latency_Google"/>
12213 </fieldtrial> 12302 </fieldtrial>
12214 12303
12215 </fieldtrials> 12304 </fieldtrials>
12216 12305
12217 </histogram-configuration> 12306 </histogram-configuration>
OLDNEW
« no previous file with comments | « sql/meta_table.cc ('k') | webkit/appcache/appcache_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698