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

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: Um, yes, EENGINEERFAILURE 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
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 6836 matching lines...) Expand 10 before | Expand all | Expand 10 after
6847 <summary> 6847 <summary>
6848 The platform error of attempting to create a new cache entry. 6848 The platform error of attempting to create a new cache entry.
6849 </summary> 6849 </summary>
6850 </histogram> 6850 </histogram>
6851 6851
6852 <histogram name="SimpleCache.SyncOpenResult" enum="SimpleCacheSyncOpenResult"> 6852 <histogram name="SimpleCache.SyncOpenResult" enum="SimpleCacheSyncOpenResult">
6853 <summary>The result of attempting to create a new cache entry.</summary> 6853 <summary>The result of attempting to create a new cache entry.</summary>
6854 </histogram> 6854 </histogram>
6855 6855
6856 <histogram name="Sqlite.AppCache.Error" enum="SqliteErrorCode"> 6856 <histogram name="Sqlite.AppCache.Error" enum="SqliteErrorCode">
6857 <summary>Error codes returned by sqlite for the appcache db.</summary> 6857 <summary>SQLite error codes for appcache db.</summary>
6858 </histogram>
6859
6860 <histogram name="Sqlite.AppCache.ExtendedError" enum="SqliteErrorCode">
jar (doing other things) 2013/05/13 22:05:59 As we discussed... I think you don't need to renam
Scott Hess - ex-Googler 2013/05/13 22:43:08 Done.
6861 <summary>SQLite extended error codes for appcache db.</summary>
6862 </histogram>
6863
6864 <histogram name="Sqlite.AppCache.Version">
6865 <summary>Appcache db version at startup.</summary>
6858 </histogram> 6866 </histogram>
6859 6867
6860 <histogram name="Sqlite.Cookie.Error" enum="SqliteErrorCode"> 6868 <histogram name="Sqlite.Cookie.Error" enum="SqliteErrorCode">
6861 <summary>Error codes returned by sqlite the cookie db.</summary> 6869 <summary>SQLite error codes for cookie db.</summary>
6870 </histogram>
6871
6872 <histogram name="Sqlite.Cookie.ExtendedError" enum="SqliteErrorCode">
6873 <summary>SQLite extended error codes for cookie db.</summary>
6874 </histogram>
6875
6876 <histogram name="Sqlite.Cookie.Version">
6877 <summary>Cookie db version at startup.</summary>
6862 </histogram> 6878 </histogram>
6863 6879
6864 <histogram name="Sqlite.DatabaseTracker.Error" enum="SqliteErrorCode"> 6880 <histogram name="Sqlite.DatabaseTracker.Error" enum="SqliteErrorCode">
6865 <summary>Error codes returned by sqlite the websqldb tracker db.</summary> 6881 <summary>SQLite error codes for websqldb tracker db.</summary>
6882 </histogram>
6883
6884 <histogram name="Sqlite.DatabaseTracker.ExtendedError" enum="SqliteErrorCode">
6885 <summary>SQLite extended error codes for websqldb tracker db.</summary>
6886 </histogram>
6887
6888 <histogram name="Sqlite.DatabaseTracker.Version">
6889 <summary>Websqldb tracker db version at startup.</summary>
6866 </histogram> 6890 </histogram>
6867 6891
6868 <histogram name="Sqlite.DomainBoundCerts.Error" enum="SqliteErrorCode"> 6892 <histogram name="Sqlite.DomainBoundCerts.Error" enum="SqliteErrorCode">
6869 <summary> 6893 <summary>SQLite error codes for domain-bound certs db.</summary>
6870 Error codes returned by sqlite for the domain-bound certs db. 6894 </histogram>
6871 </summary> 6895
6896 <histogram name="Sqlite.DomainBoundCerts.ExtendedError" enum="SqliteErrorCode">
6897 <summary>SQLite extended error codes for domain-bound certs db.</summary>
6898 </histogram>
6899
6900 <histogram name="Sqlite.DomainBoundCerts.Version">
6901 <summary>Domain-bound certs db version at startup.</summary>
6872 </histogram> 6902 </histogram>
6873 6903
6874 <histogram name="Sqlite.DomStorageDatabase.Error" enum="SqliteErrorCode"> 6904 <histogram name="Sqlite.DomStorageDatabase.Error" enum="SqliteErrorCode">
6875 <summary>Error codes returned by sqlite for the domstorage db.</summary> 6905 <summary>SQLite error codes for domstorage db.</summary>
6906 </histogram>
6907
6908 <histogram name="Sqlite.DomStorageDatabase.ExtendedError"
6909 enum="SqliteErrorCode">
6910 <summary>SQLite extended error codes for domstorage db.</summary>
6911 </histogram>
6912
6913 <histogram name="Sqlite.DomStorageDatabase.Version">
6914 <summary>Domstorage db version at startup.</summary>
6876 </histogram> 6915 </histogram>
6877 6916
6878 <histogram name="Sqlite.Error" enum="SqliteErrorCode"> 6917 <histogram name="Sqlite.Error" enum="SqliteErrorCode">
6879 <summary>Error codes returned by sqlite for all databases.</summary> 6918 <summary>Error codes returned by SQLite for all databases.</summary>
6880 </histogram> 6919 </histogram>
6881 6920
6882 <histogram name="Sqlite.Error.IOERR" enum="SqliteIOERRCode"> 6921 <histogram name="Sqlite.Error.IOERR" enum="SqliteIOERRCode">
6883 <summary>Error codes returned by sqlite for all databases.</summary> 6922 <obsolete>
6923 Replaced 5/8/2013 by Sqlite.ExtendedError sparse histogram.
6924 </obsolete>
6925 <summary>SQLite extended SQLITE_IOERR codes for all databases.</summary>
6926 </histogram>
6927
6928 <histogram name="Sqlite.ExtendedError" enum="SqliteErrorCode">
6929 <summary>SQLite extended error codes for all databases.</summary>
6884 </histogram> 6930 </histogram>
6885 6931
6886 <histogram name="Sqlite.History.Error" enum="SqliteErrorCode"> 6932 <histogram name="Sqlite.History.Error" enum="SqliteErrorCode">
6887 <summary>Error codes returned by sqlite for the history db.</summary> 6933 <summary>SQLite error codes for history db.</summary>
6934 </histogram>
6935
6936 <histogram name="Sqlite.History.ExtendedError" enum="SqliteErrorCode">
6937 <summary>SQLite extended error codes for history db.</summary>
6938 </histogram>
6939
6940 <histogram name="Sqlite.History.Version">
6941 <summary>History db version at startup.</summary>
6888 </histogram> 6942 </histogram>
6889 6943
6890 <histogram name="Sqlite.Quota.Error" enum="SqliteErrorCode"> 6944 <histogram name="Sqlite.Quota.Error" enum="SqliteErrorCode">
6891 <summary>Error codes returned by sqlite for the quota db.</summary> 6945 <summary>SQLite error codes for quota db.</summary>
6946 </histogram>
6947
6948 <histogram name="Sqlite.Quota.ExtendedError" enum="SqliteErrorCode">
6949 <summary>SQLite extended error codes for quota db.</summary>
6950 </histogram>
6951
6952 <histogram name="Sqlite.Quota.Version">
6953 <summary>Quota db version at startup.</summary>
6892 </histogram> 6954 </histogram>
6893 6955
6894 <histogram name="Sqlite.Text.Error" enum="SqliteErrorCode"> 6956 <histogram name="Sqlite.Text.Error" enum="SqliteErrorCode">
6895 <summary>Error codes returned by sqlite the full text db.</summary> 6957 <summary>SQLite error codes for full text db.</summary>
6958 </histogram>
6959
6960 <histogram name="Sqlite.Text.ExtendedError" enum="SqliteErrorCode">
6961 <summary>SQLite extended error codes for full text db.</summary>
6962 </histogram>
6963
6964 <histogram name="Sqlite.Text.Version">
6965 <summary>Full-text db version at startup.</summary>
6896 </histogram> 6966 </histogram>
6897 6967
6898 <histogram name="Sqlite.Thumbnail.Error" enum="SqliteErrorCode"> 6968 <histogram name="Sqlite.Thumbnail.Error" enum="SqliteErrorCode">
6899 <summary>Error codes returned by sqlite for the thumbnail db.</summary> 6969 <summary>SQLite error codes for thumbnail db.</summary>
6970 </histogram>
6971
6972 <histogram name="Sqlite.Thumbnail.ExtendedError" enum="SqliteErrorCode">
6973 <summary>SQLite extended error codes for thumbnail db.</summary>
6974 </histogram>
6975
6976 <histogram name="Sqlite.Thumbnail.Version">
6977 <summary>Thumbnail db version at startup.</summary>
6978 </histogram>
6979
6980 <histogram name="Sqlite.TopSites.Error" enum="SqliteErrorCode">
6981 <summary>SQLite error codes for top sites db.</summary>
6982 </histogram>
6983
6984 <histogram name="Sqlite.TopSites.ExtendedError" enum="SqliteErrorCode">
6985 <summary>SQLite extended error codes for top sites db.</summary>
6986 </histogram>
6987
6988 <histogram name="Sqlite.TopSites.Version">
6989 <summary>Top sites db version at startup.</summary>
6900 </histogram> 6990 </histogram>
6901 6991
6902 <histogram name="Sqlite.Web.Error" enum="SqliteErrorCode"> 6992 <histogram name="Sqlite.Web.Error" enum="SqliteErrorCode">
6903 <summary>Error codes returned by sqlite the web db.</summary> 6993 <summary>SQLite error codes for web db.</summary>
6994 </histogram>
6995
6996 <histogram name="Sqlite.Web.ExtendedError" enum="SqliteErrorCode">
6997 <summary>SQLite extended error codes for web db.</summary>
6998 </histogram>
6999
7000 <histogram name="Sqlite.Web.Version">
7001 <summary>Web db version at startup.</summary>
6904 </histogram> 7002 </histogram>
6905 7003
6906 <histogram name="Tab.SwitchedToForegroundAge" units="ms"> 7004 <histogram name="Tab.SwitchedToForegroundAge" units="ms">
6907 <summary>Age (in ms) when the tab was switched to foreground.</summary> 7005 <summary>Age (in ms) when the tab was switched to foreground.</summary>
6908 </histogram> 7006 </histogram>
6909 7007
6910 <histogram name="Tab.SwitchedToForegroundLaunchedWithURL" 7008 <histogram name="Tab.SwitchedToForegroundLaunchedWithURL"
6911 enum="TabSwitchedToForegroundLaunchedWithURL"> 7009 enum="TabSwitchedToForegroundLaunchedWithURL">
6912 <summary> 7010 <summary>
6913 Each time a tab is brought to the foreground, this histogram indicates if 7011 Each time a tab is brought to the foreground, this histogram indicates if
(...skipping 3730 matching lines...) Expand 10 before | Expand all | Expand 10 after
10644 <int value="0" label="not received"/> 10742 <int value="0" label="not received"/>
10645 <int value="1" label="received"/> 10743 <int value="1" label="received"/>
10646 </enum> 10744 </enum>
10647 10745
10648 <enum name="SpdySettingsSent" type="int"> 10746 <enum name="SpdySettingsSent" type="int">
10649 <int value="0" label="not sent"/> 10747 <int value="0" label="not sent"/>
10650 <int value="1" label="sent"/> 10748 <int value="1" label="sent"/>
10651 </enum> 10749 </enum>
10652 10750
10653 <enum name="SqliteErrorCode" type="int"> 10751 <enum name="SqliteErrorCode" type="int">
10654 <summary>Error codes returned by SQLite - see sqlite.h</summary> 10752 <summary>Error codes returned by SQLite - see sqlite3.h</summary>
10655 <int value="0" label="SQLITE_OK">Successful result</int> 10753 <int value="0" label="SQLITE_OK">Successful result</int>
10656 <int value="1" label="SQLITE_ERROR">SQL error or missing database</int> 10754 <int value="1" label="SQLITE_ERROR">SQL error or missing database</int>
10657 <int value="2" label="SQLITE_INTERNAL"> 10755 <int value="2" label="SQLITE_INTERNAL">
10658 NOT USED. Internal logic error in SQLite 10756 NOT USED. Internal logic error in SQLite
10659 </int> 10757 </int>
10660 <int value="3" label="SQLITE_PERM">Access permission denied</int> 10758 <int value="3" label="SQLITE_PERM">Access permission denied</int>
10661 <int value="4" label="SQLITE_ABORT">Callback routine requested an abort</int> 10759 <int value="4" label="SQLITE_ABORT">Callback routine requested an abort</int>
10662 <int value="5" label="SQLITE_BUSY">The database file is locked</int> 10760 <int value="5" label="SQLITE_BUSY">The database file is locked</int>
10663 <int value="6" label="SQLITE_LOCKED">A table in the database is locked</int> 10761 <int value="6" label="SQLITE_LOCKED">A table in the database is locked</int>
10664 <int value="7" label="SQLITE_NOMEM">A malloc() failed</int> 10762 <int value="7" label="SQLITE_NOMEM">A malloc() failed</int>
(...skipping 26 matching lines...) Expand all
10691 Abort due to contraint violation 10789 Abort due to contraint violation
10692 </int> 10790 </int>
10693 <int value="20" label="SQLITE_MISMATCH">Data type mismatch</int> 10791 <int value="20" label="SQLITE_MISMATCH">Data type mismatch</int>
10694 <int value="21" label="SQLITE_MISUSE">Library used incorrectly</int> 10792 <int value="21" label="SQLITE_MISUSE">Library used incorrectly</int>
10695 <int value="22" label="SQLITE_NOLFS"> 10793 <int value="22" label="SQLITE_NOLFS">
10696 Uses OS features not supported on host 10794 Uses OS features not supported on host
10697 </int> 10795 </int>
10698 <int value="23" label="SQLITE_AUTH">Authorization denied</int> 10796 <int value="23" label="SQLITE_AUTH">Authorization denied</int>
10699 <int value="24" label="SQLITE_FORMAT">Auxiliary database format error</int> 10797 <int value="24" label="SQLITE_FORMAT">Auxiliary database format error</int>
10700 <int value="25" label="SQLITE_RANGE"> 10798 <int value="25" label="SQLITE_RANGE">
10701 2nd parameter to sqlite3_bind out of range 10799 2nd parameter to sqlite3_bind() out of range
10702 </int> 10800 </int>
10703 <int value="26" label="SQLITE_NOTADB"> 10801 <int value="26" label="SQLITE_NOTADB">
10704 File opened that is not a database file 10802 File opened that is not a database file
10705 </int> 10803 </int>
10706 <int value="100" label="SQLITE_ROW">sqlite3_step() has another row ready</int> 10804 <int value="100" label="SQLITE_ROW">sqlite3_step() has another row ready</int>
10707 <int value="101" label="SQLITE_DONE"> 10805 <int value="101" label="SQLITE_DONE">
10708 sqlite3_step() has finished executing 10806 sqlite3_step() has finished executing
10709 </int> 10807 </int>
10808 <int value="261" label="SQLITE_BUSY_RECOVERY">TBD</int>
10809 <int value="262" label="SQLITE_LOCKED_SHAREDCACHE">TBD</int>
10810 <int value="266" label="SQLITE_IOERR_READ">Error reading from file</int>
10811 <int value="270" label="SQLITE_CANTOPEN_NOTEMPDIR">TBD</int>
10812 <int value="522" label="SQLITE_IOERR_SHORT_READ">Short read from file</int>
10813 <int value="778" label="SQLITE_IOERR_WRITE">
10814 Error writing to file (other than SQLITE_FULL)
10815 </int>
10816 <int value="1034" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int>
10817 <int value="1290" label="SQLITE_IOERR_DIR_FSYNC">
10818 Error syncing directory changes to disk
10819 </int>
10820 <int value="1546" label="SQLITE_IOERR_TRUNCATE">Error truncating file</int>
10821 <int value="1802" label="SQLITE_IOERR_FSTAT">Error reading file metadata</int>
10822 <int value="2058" label="SQLITE_IOERR_UNLOCK">Error unlocking file</int>
10823 <int value="2314" label="SQLITE_IOERR_RDLOCK">
10824 Error getting read lock - should not be possible
10825 </int>
10826 <int value="2570" label="SQLITE_IOERR_DELETE">Error deleting file</int>
10827 <int value="2826" label="SQLITE_IOERR_BLOCKED">
10828 Deadlock due to other process access to SQLite files
10829 </int>
10830 <int value="3082" label="SQLITE_IOERR_NOMEM">Error mapping shared memory</int>
10831 <int value="3338" label="SQLITE_IOERR_ACCESS">
10832 Error getting file attributes (other than not found)
10833 </int>
10834 <int value="3594" label="SQLITE_IOERR_CHECKRESERVEDLOCK">
10835 Error while querying lock status
10836 </int>
10837 <int value="3850" label="SQLITE_IOERR_LOCK">Error acquiring lock</int>
10838 <int value="4106" label="SQLITE_IOERR_CLOSE">Error closing file</int>
10839 <int value="4362" label="SQLITE_IOERR_DIR_CLOSE">Unused</int>
10840 <int value="4618" label="SQLITE_IOERR_SHMOPEN">Error mmapping file</int>
10841 <int value="4874" label="SQLITE_IOERR_SHMSIZE">
10842 Error in stat while mmapping file
10843 </int>
10844 <int value="5130" label="SQLITE_IOERR_SHMLOCK">Unused</int>
10710 </enum> 10845 </enum>
10711 10846
10712 <enum name="SqliteIOERRCode" type="int"> 10847 <enum name="SqliteIOERRCode" type="int">
10713 <summary>Extended error codes returned by SQLite - see sqlite.h</summary> 10848 <obsolete>
10849 Replaced 5/8/2013 by Sqlite.ExtendedError sparse histogram.
10850 </obsolete>
10851 <summary>Extended error codes returned by SQLite - see sqlite3.h</summary>
10714 <int value="0" label="SQLITE_IOERR">No extended code given</int> 10852 <int value="0" label="SQLITE_IOERR">No extended code given</int>
10715 <int value="1" label="SQLITE_IOERR_READ">Error reading from file</int> 10853 <int value="1" label="SQLITE_IOERR_READ">Error reading from file</int>
10716 <int value="2" label="SQLITE_IOERR_SHORT_READ">Short read from file</int> 10854 <int value="2" label="SQLITE_IOERR_SHORT_READ">Short read from file</int>
10717 <int value="3" label="SQLITE_IOERR_WRITE"> 10855 <int value="3" label="SQLITE_IOERR_WRITE">
10718 Error writing to file (other than SQLITE_FULL) 10856 Error writing to file (other than SQLITE_FULL)
10719 </int> 10857 </int>
10720 <int value="4" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int> 10858 <int value="4" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int>
10721 <int value="5" label="SQLITE_IOERR_DIR_FSYNC"> 10859 <int value="5" label="SQLITE_IOERR_DIR_FSYNC">
10722 Error syncing directory changes to disk 10860 Error syncing directory changes to disk
10723 </int> 10861 </int>
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
12141 <fieldtrial name="SSLResumption"> 12279 <fieldtrial name="SSLResumption">
12142 <group name="Resume_Handshake" label="Session Resumption"/> 12280 <group name="Resume_Handshake" label="Session Resumption"/>
12143 <group name="Full_Handshake" label="Full"/> 12281 <group name="Full_Handshake" label="Full"/>
12144 <affected-histogram name="Net.SSL_Connection_Latency"/> 12282 <affected-histogram name="Net.SSL_Connection_Latency"/>
12145 <affected-histogram name="Net.SSL_Connection_Latency_Google"/> 12283 <affected-histogram name="Net.SSL_Connection_Latency_Google"/>
12146 </fieldtrial> 12284 </fieldtrial>
12147 12285
12148 </fieldtrials> 12286 </fieldtrials>
12149 12287
12150 </histogram-configuration> 12288 </histogram-configuration>
OLDNEW
« sql/connection.cc ('K') | « 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