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

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: Oops - need old histograms for continuity. 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 6924 matching lines...) Expand 10 before | Expand all | Expand 10 after
6935 <summary> 6935 <summary>
6936 Error codes returned by sqlite for the domain-bound certs db. 6936 Error codes returned by sqlite for the domain-bound certs db.
6937 </summary> 6937 </summary>
6938 </histogram> 6938 </histogram>
6939 6939
6940 <histogram name="Sqlite.DomStorageDatabase.Error" enum="SqliteErrorCode"> 6940 <histogram name="Sqlite.DomStorageDatabase.Error" enum="SqliteErrorCode">
6941 <summary>Error codes returned by sqlite for the domstorage db.</summary> 6941 <summary>Error codes returned by sqlite for the domstorage db.</summary>
6942 </histogram> 6942 </histogram>
6943 6943
6944 <histogram name="Sqlite.Error" enum="SqliteErrorCode"> 6944 <histogram name="Sqlite.Error" enum="SqliteErrorCode">
6945 <summary>Error codes returned by sqlite for all databases.</summary> 6945 <summary>SQLite extended error codes.</summary>
6946 </histogram> 6946 </histogram>
6947 6947
6948 <histogram name="Sqlite.Error.IOERR" enum="SqliteIOERRCode"> 6948 <histogram name="Sqlite.Error.IOERR" enum="SqliteIOERRCode">
6949 <summary>Error codes returned by sqlite for all databases.</summary> 6949 <obsolete>
6950 Replaced 5/14/2013 by expanded Sqlite.Error histogram.
6951 </obsolete>
6952 <summary>SQLite extended SQLITE_IOERR codes for all databases.</summary>
6950 </histogram> 6953 </histogram>
6951 6954
6952 <histogram name="Sqlite.History.Error" enum="SqliteErrorCode"> 6955 <histogram name="Sqlite.History.Error" enum="SqliteErrorCode">
6953 <summary>Error codes returned by sqlite for the history db.</summary> 6956 <summary>Error codes returned by sqlite for the history db.</summary>
6954 </histogram> 6957 </histogram>
6955 6958
6956 <histogram name="Sqlite.Quota.Error" enum="SqliteErrorCode"> 6959 <histogram name="Sqlite.Quota.Error" enum="SqliteErrorCode">
6957 <summary>Error codes returned by sqlite for the quota db.</summary> 6960 <summary>Error codes returned by sqlite for the quota db.</summary>
6958 </histogram> 6961 </histogram>
6959 6962
6960 <histogram name="Sqlite.Text.Error" enum="SqliteErrorCode"> 6963 <histogram name="Sqlite.Text.Error" enum="SqliteErrorCode">
6961 <summary>Error codes returned by sqlite the full text db.</summary> 6964 <summary>Error codes returned by sqlite the full text db.</summary>
6962 </histogram> 6965 </histogram>
6963 6966
6964 <histogram name="Sqlite.Thumbnail.Error" enum="SqliteErrorCode"> 6967 <histogram name="Sqlite.Thumbnail.Error" enum="SqliteErrorCode">
6965 <summary>Error codes returned by sqlite for the thumbnail db.</summary> 6968 <summary>Error codes returned by sqlite for the thumbnail db.</summary>
6966 </histogram> 6969 </histogram>
6967 6970
6971 <histogram name="Sqlite.Version">
6972 <summary>Version of pre-existing database at startup.</summary>
6973 </histogram>
6974
6968 <histogram name="Sqlite.Web.Error" enum="SqliteErrorCode"> 6975 <histogram name="Sqlite.Web.Error" enum="SqliteErrorCode">
6969 <summary>Error codes returned by sqlite the web db.</summary> 6976 <summary>Error codes returned by sqlite the web db.</summary>
6970 </histogram> 6977 </histogram>
6971 6978
6972 <histogram name="Tab.SwitchedToForegroundAge" units="ms"> 6979 <histogram name="Tab.SwitchedToForegroundAge" units="ms">
6973 <summary>Age (in ms) when the tab was switched to foreground.</summary> 6980 <summary>Age (in ms) when the tab was switched to foreground.</summary>
6974 </histogram> 6981 </histogram>
6975 6982
6976 <histogram name="Tab.SwitchedToForegroundLaunchedWithURL" 6983 <histogram name="Tab.SwitchedToForegroundLaunchedWithURL"
6977 enum="TabSwitchedToForegroundLaunchedWithURL"> 6984 enum="TabSwitchedToForegroundLaunchedWithURL">
(...skipping 3733 matching lines...) Expand 10 before | Expand all | Expand 10 after
10711 <int value="0" label="not received"/> 10718 <int value="0" label="not received"/>
10712 <int value="1" label="received"/> 10719 <int value="1" label="received"/>
10713 </enum> 10720 </enum>
10714 10721
10715 <enum name="SpdySettingsSent" type="int"> 10722 <enum name="SpdySettingsSent" type="int">
10716 <int value="0" label="not sent"/> 10723 <int value="0" label="not sent"/>
10717 <int value="1" label="sent"/> 10724 <int value="1" label="sent"/>
10718 </enum> 10725 </enum>
10719 10726
10720 <enum name="SqliteErrorCode" type="int"> 10727 <enum name="SqliteErrorCode" type="int">
10721 <summary>Error codes returned by SQLite - see sqlite.h</summary> 10728 <summary>Error codes returned by SQLite - see sqlite3.h</summary>
10722 <int value="0" label="SQLITE_OK">Successful result</int> 10729 <int value="0" label="SQLITE_OK">Successful result</int>
10723 <int value="1" label="SQLITE_ERROR">SQL error or missing database</int> 10730 <int value="1" label="SQLITE_ERROR">SQL error or missing database</int>
10724 <int value="2" label="SQLITE_INTERNAL"> 10731 <int value="2" label="SQLITE_INTERNAL">
10725 NOT USED. Internal logic error in SQLite 10732 NOT USED. Internal logic error in SQLite
10726 </int> 10733 </int>
10727 <int value="3" label="SQLITE_PERM">Access permission denied</int> 10734 <int value="3" label="SQLITE_PERM">Access permission denied</int>
10728 <int value="4" label="SQLITE_ABORT">Callback routine requested an abort</int> 10735 <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> 10736 <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> 10737 <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> 10738 <int value="7" label="SQLITE_NOMEM">A malloc() failed</int>
(...skipping 26 matching lines...) Expand all
10758 Abort due to contraint violation 10765 Abort due to contraint violation
10759 </int> 10766 </int>
10760 <int value="20" label="SQLITE_MISMATCH">Data type mismatch</int> 10767 <int value="20" label="SQLITE_MISMATCH">Data type mismatch</int>
10761 <int value="21" label="SQLITE_MISUSE">Library used incorrectly</int> 10768 <int value="21" label="SQLITE_MISUSE">Library used incorrectly</int>
10762 <int value="22" label="SQLITE_NOLFS"> 10769 <int value="22" label="SQLITE_NOLFS">
10763 Uses OS features not supported on host 10770 Uses OS features not supported on host
10764 </int> 10771 </int>
10765 <int value="23" label="SQLITE_AUTH">Authorization denied</int> 10772 <int value="23" label="SQLITE_AUTH">Authorization denied</int>
10766 <int value="24" label="SQLITE_FORMAT">Auxiliary database format error</int> 10773 <int value="24" label="SQLITE_FORMAT">Auxiliary database format error</int>
10767 <int value="25" label="SQLITE_RANGE"> 10774 <int value="25" label="SQLITE_RANGE">
10768 2nd parameter to sqlite3_bind out of range 10775 2nd parameter to sqlite3_bind() out of range
10769 </int> 10776 </int>
10770 <int value="26" label="SQLITE_NOTADB"> 10777 <int value="26" label="SQLITE_NOTADB">
10771 File opened that is not a database file 10778 File opened that is not a database file
10772 </int> 10779 </int>
10773 <int value="100" label="SQLITE_ROW">sqlite3_step() has another row ready</int> 10780 <int value="100" label="SQLITE_ROW">sqlite3_step() has another row ready</int>
10774 <int value="101" label="SQLITE_DONE"> 10781 <int value="101" label="SQLITE_DONE">
10775 sqlite3_step() has finished executing 10782 sqlite3_step() has finished executing
10776 </int> 10783 </int>
10784 <int value="261" label="SQLITE_BUSY_RECOVERY">TBD</int>
10785 <int value="262" label="SQLITE_LOCKED_SHAREDCACHE">TBD</int>
10786 <int value="266" label="SQLITE_IOERR_READ">Error reading from file</int>
10787 <int value="270" label="SQLITE_CANTOPEN_NOTEMPDIR">TBD</int>
10788 <int value="522" label="SQLITE_IOERR_SHORT_READ">Short read from file</int>
10789 <int value="778" label="SQLITE_IOERR_WRITE">
10790 Error writing to file (other than SQLITE_FULL)
10791 </int>
10792 <int value="1034" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int>
10793 <int value="1290" label="SQLITE_IOERR_DIR_FSYNC">
10794 Error syncing directory changes to disk
10795 </int>
10796 <int value="1546" label="SQLITE_IOERR_TRUNCATE">Error truncating file</int>
10797 <int value="1802" label="SQLITE_IOERR_FSTAT">Error reading file metadata</int>
10798 <int value="2058" label="SQLITE_IOERR_UNLOCK">Error unlocking file</int>
10799 <int value="2314" label="SQLITE_IOERR_RDLOCK">
10800 Error getting read lock - should not be possible
10801 </int>
10802 <int value="2570" label="SQLITE_IOERR_DELETE">Error deleting file</int>
10803 <int value="2826" label="SQLITE_IOERR_BLOCKED">
10804 Deadlock due to other process access to SQLite files
10805 </int>
10806 <int value="3082" label="SQLITE_IOERR_NOMEM">Error mapping shared memory</int>
10807 <int value="3338" label="SQLITE_IOERR_ACCESS">
10808 Error getting file attributes (other than not found)
10809 </int>
10810 <int value="3594" label="SQLITE_IOERR_CHECKRESERVEDLOCK">
10811 Error while querying lock status
10812 </int>
10813 <int value="3850" label="SQLITE_IOERR_LOCK">Error acquiring lock</int>
10814 <int value="4106" label="SQLITE_IOERR_CLOSE">Error closing file</int>
10815 <int value="4362" label="SQLITE_IOERR_DIR_CLOSE">Unused</int>
10816 <int value="4618" label="SQLITE_IOERR_SHMOPEN">Error mmapping file</int>
10817 <int value="4874" label="SQLITE_IOERR_SHMSIZE">
10818 Error in stat while mmapping file
10819 </int>
10820 <int value="5130" label="SQLITE_IOERR_SHMLOCK">Unused</int>
10777 </enum> 10821 </enum>
10778 10822
10779 <enum name="SqliteIOERRCode" type="int"> 10823 <enum name="SqliteIOERRCode" type="int">
10780 <summary>Extended error codes returned by SQLite - see sqlite.h</summary> 10824 <obsolete>
10825 Replaced 5/14/2013 by expanded Sqlite.Error histogram.
10826 </obsolete>
10827 <summary>Extended error codes returned by SQLite - see sqlite3.h</summary>
10781 <int value="0" label="SQLITE_IOERR">No extended code given</int> 10828 <int value="0" label="SQLITE_IOERR">No extended code given</int>
10782 <int value="1" label="SQLITE_IOERR_READ">Error reading from file</int> 10829 <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> 10830 <int value="2" label="SQLITE_IOERR_SHORT_READ">Short read from file</int>
10784 <int value="3" label="SQLITE_IOERR_WRITE"> 10831 <int value="3" label="SQLITE_IOERR_WRITE">
10785 Error writing to file (other than SQLITE_FULL) 10832 Error writing to file (other than SQLITE_FULL)
10786 </int> 10833 </int>
10787 <int value="4" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int> 10834 <int value="4" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int>
10788 <int value="5" label="SQLITE_IOERR_DIR_FSYNC"> 10835 <int value="5" label="SQLITE_IOERR_DIR_FSYNC">
10789 Error syncing directory changes to disk 10836 Error syncing directory changes to disk
10790 </int> 10837 </int>
(...skipping 1399 matching lines...) Expand 10 before | Expand all | Expand 10 after
12190 </fieldtrial> 12237 </fieldtrial>
12191 12238
12192 <fieldtrial name="SpdySettingsCwnd" separator=""> 12239 <fieldtrial name="SpdySettingsCwnd" separator="">
12193 <group name="10K" label="where at least 10KB was transferred."/> 12240 <group name="10K" label="where at least 10KB was transferred."/>
12194 <group name="25K" label="where at least 25KB was transferred."/> 12241 <group name="25K" label="where at least 25KB was transferred."/>
12195 <group name="50K" label="where at least 50KB was transferred."/> 12242 <group name="50K" label="where at least 50KB was transferred."/>
12196 <group name="100K" label="where at least 100KB was transferred."/> 12243 <group name="100K" label="where at least 100KB was transferred."/>
12197 <affected-histogram name="Net.SpdySettingsCwnd"/> 12244 <affected-histogram name="Net.SpdySettingsCwnd"/>
12198 </fieldtrial> 12245 </fieldtrial>
12199 12246
12247 <fieldtrial name="SqliteDatabases" separator=".">
12248 <group name="AppCache" label="AppCache"/>
12249 <group name="Cookie" label="Cookie"/>
12250 <group name="DatabaseTracker" label="DatabaseTracker"/>
12251 <group name="DomainBoundCerts" label="DomainBoundCerts"/>
12252 <group name="DomStorageDatabase" label="DomStorageDatabase"/>
12253 <group name="History" label="History"/>
12254 <group name="Quota" label="Quota"/>
12255 <group name="Text" label="Text"/>
12256 <group name="Thumbnail" label="Thumbnail"/>
12257 <group name="TopSites" label="TopSites"/>
12258 <group name="Web" label="Web"/>
12259 <affected-histogram name="Sqlite.Error"/>
12260 <affected-histogram name="Sqlite.Version"/>
12261 </fieldtrial>
12262
12200 <fieldtrial name="SSLFalseStart"> 12263 <fieldtrial name="SSLFalseStart">
12201 <group name="FalseStart_enabled"/> 12264 <group name="FalseStart_enabled"/>
12202 <group name="FalseStart_disabled"/> 12265 <group name="FalseStart_disabled"/>
12203 <affected-histogram name="Net.SSL_Connection_Latency"/> 12266 <affected-histogram name="Net.SSL_Connection_Latency"/>
12204 <affected-histogram name="PLT.BeginToFinish_LinkLoadNormal"/> 12267 <affected-histogram name="PLT.BeginToFinish_LinkLoadNormal"/>
12205 <affected-histogram name="PLT.BeginToFinish_NormalLoad"/> 12268 <affected-histogram name="PLT.BeginToFinish_NormalLoad"/>
12206 </fieldtrial> 12269 </fieldtrial>
12207 12270
12208 <fieldtrial name="SSLResumption"> 12271 <fieldtrial name="SSLResumption">
12209 <group name="Resume_Handshake" label="Session Resumption"/> 12272 <group name="Resume_Handshake" label="Session Resumption"/>
12210 <group name="Full_Handshake" label="Full"/> 12273 <group name="Full_Handshake" label="Full"/>
12211 <affected-histogram name="Net.SSL_Connection_Latency"/> 12274 <affected-histogram name="Net.SSL_Connection_Latency"/>
12212 <affected-histogram name="Net.SSL_Connection_Latency_Google"/> 12275 <affected-histogram name="Net.SSL_Connection_Latency_Google"/>
12213 </fieldtrial> 12276 </fieldtrial>
12214 12277
12215 </fieldtrials> 12278 </fieldtrials>
12216 12279
12217 </histogram-configuration> 12280 </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