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

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

Issue 14439007: Deeper histogram for SQLITE_IOERR. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add to histograms.xml 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/connection.cc ('k') | no next file » | 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 5711 matching lines...) Expand 10 before | Expand all | Expand 10 after
5722 </summary> 5722 </summary>
5723 </histogram> 5723 </histogram>
5724 5724
5725 <histogram name="Search.DefaultSearchProvider" enum="OmniboxSearchEngine"> 5725 <histogram name="Search.DefaultSearchProvider" enum="OmniboxSearchEngine">
5726 <summary> 5726 <summary>
5727 The id of the default search engine that is loaded after Chrome startup. See 5727 The id of the default search engine that is loaded after Chrome startup. See
5728 src/chrome/browser/search_engines/prepopulate_engines.json for more info. 5728 src/chrome/browser/search_engines/prepopulate_engines.json for more info.
5729 </summary> 5729 </summary>
5730 </histogram> 5730 </histogram>
5731 5731
5732 <histogram name="Sqlite.AppCache.Error" enum="SqliteErrorCode">
5733 <summary>Error codes returned by sqlite for the appcache db.</summary>
5734 </histogram>
5735
5736 <histogram name="Sqlite.Cookie.Error" enum="SqliteErrorCode">
5737 <summary>Error codes returned by sqlite the cookie db.</summary>
5738 </histogram>
5739
5740 <histogram name="Sqlite.DatabaseTracker.Error" enum="SqliteErrorCode">
5741 <summary>Error codes returned by sqlite the websqldb tracker db.</summary>
5742 </histogram>
5743
5744 <histogram name="Sqlite.DomStorageDatabase.Error" enum="SqliteErrorCode">
5745 <summary>Error codes returned by sqlite for the domstorage db.</summary>
5746 </histogram>
5747
5748 <histogram name="Sqlite.Error" enum="SqliteErrorCode">
5749 <summary>Error codes returned by sqlite for all databases.</summary>
5750 </histogram>
5751
5752 <histogram name="Sqlite.Error.IOERR" enum="SqliteIOERRCode">
erikwright (departed) 2013/04/26 17:27:40 I assume that, other than this one, the rest are m
Scott Hess - ex-Googler 2013/04/26 17:50:54 Apologies - I think I made a baselining mistake, a
5753 <summary>Error codes returned by sqlite for all databases.</summary>
5754 </histogram>
5755
5756 <histogram name="Sqlite.History.Error" enum="SqliteErrorCode">
5757 <summary>Error codes returned by sqlite for the history db.</summary>
5758 </histogram>
5759
5760 <histogram name="Sqlite.Quota.Error" enum="SqliteErrorCode">
5761 <summary>Error codes returned by sqlite for the quota db.</summary>
5762 </histogram>
5763
5764 <histogram name="Sqlite.Text.Error" enum="SqliteErrorCode">
5765 <summary>Error codes returned by sqlite the full text db.</summary>
5766 </histogram>
5767
5768 <histogram name="Sqlite.Thumbnail.Error" enum="SqliteErrorCode">
5769 <summary>Error codes returned by sqlite for the thumbnail db.</summary>
5770 </histogram>
5771
5772 <histogram name="Sqlite.Web.Error" enum="SqliteErrorCode">
5773 <summary>Error codes returned by sqlite the web db.</summary>
5774 </histogram>
5775
5732 <histogram name="Variations.DisabledNoEntropyProvider" enum="BooleanHit"> 5776 <histogram name="Variations.DisabledNoEntropyProvider" enum="BooleanHit">
5733 <summary> 5777 <summary>
5734 A count of the number of times we hit the code where a field trial is 5778 A count of the number of times we hit the code where a field trial is
5735 disabled because no entropy provider was provided. 5779 disabled because no entropy provider was provided.
5736 </summary> 5780 </summary>
5737 </histogram> 5781 </histogram>
5738 5782
5739 <histogram name="Variations.FetchNotModifiedLatency" units="milliseconds"> 5783 <histogram name="Variations.FetchNotModifiedLatency" units="milliseconds">
5740 <summary> 5784 <summary>
5741 The latency of a VariationsService seed fetch that results in a not modified 5785 The latency of a VariationsService seed fetch that results in a not modified
(...skipping 3316 matching lines...) Expand 10 before | Expand all | Expand 10 after
9058 <enum name="SpdySettingsReceived" type="int"> 9102 <enum name="SpdySettingsReceived" type="int">
9059 <int value="0" label="not received"/> 9103 <int value="0" label="not received"/>
9060 <int value="1" label="received"/> 9104 <int value="1" label="received"/>
9061 </enum> 9105 </enum>
9062 9106
9063 <enum name="SpdySettingsSent" type="int"> 9107 <enum name="SpdySettingsSent" type="int">
9064 <int value="0" label="not sent"/> 9108 <int value="0" label="not sent"/>
9065 <int value="1" label="sent"/> 9109 <int value="1" label="sent"/>
9066 </enum> 9110 </enum>
9067 9111
9112 <enum name="SqliteErrorCode" type="int">
9113 <summary>Error codes returned by SQLite - see sqlite.h</summary>
erikwright (departed) 2013/04/26 17:27:40 I assume this enum is moved verbatim?
9114 <int value="0" label="SQLITE_OK">Successful result</int>
9115 <int value="1" label="SQLITE_ERROR">SQL error or missing database</int>
9116 <int value="2" label="SQLITE_INTERNAL">
9117 NOT USED. Internal logic error in SQLite
9118 </int>
9119 <int value="3" label="SQLITE_PERM">Access permission denied</int>
9120 <int value="4" label="SQLITE_ABORT">Callback routine requested an abort</int>
9121 <int value="5" label="SQLITE_BUSY">The database file is locked</int>
9122 <int value="6" label="SQLITE_LOCKED">A table in the database is locked</int>
9123 <int value="7" label="SQLITE_NOMEM">A malloc() failed</int>
9124 <int value="8" label="SQLITE_READONLY">
9125 Attempt to write a readonly database
9126 </int>
9127 <int value="9" label="SQLITE_INTERRUPT">
9128 Operation terminated by sqlite3_interrupt()
9129 </int>
9130 <int value="10" label="SQLITE_IOERR">
9131 Some kind of disk I/O error occurred
9132 </int>
9133 <int value="11" label="SQLITE_CORRUPT">
9134 The database disk image is malformed
9135 </int>
9136 <int value="12" label="SQLITE_NOTFOUND">
9137 NOT USED. Table or record not found
9138 </int>
9139 <int value="13" label="SQLITE_FULL">
9140 Insertion failed because database is full
9141 </int>
9142 <int value="14" label="SQLITE_CANTOPEN">Unable to open the database file</int>
9143 <int value="15" label="SQLITE_PROTOCOL">
9144 NOT USED. Database lock protocol error
9145 </int>
9146 <int value="16" label="SQLITE_EMPTY">Database is empty</int>
9147 <int value="17" label="SQLITE_SCHEMA">The database schema changed</int>
9148 <int value="18" label="SQLITE_TOOBIG">String or BLOB exceeds size limit</int>
9149 <int value="19" label="SQLITE_CONSTRAINT">
9150 Abort due to contraint violation
9151 </int>
9152 <int value="20" label="SQLITE_MISMATCH">Data type mismatch</int>
9153 <int value="21" label="SQLITE_MISUSE">Library used incorrectly</int>
9154 <int value="22" label="SQLITE_NOLFS">
9155 Uses OS features not supported on host
9156 </int>
9157 <int value="23" label="SQLITE_AUTH">Authorization denied</int>
9158 <int value="24" label="SQLITE_FORMAT">Auxiliary database format error</int>
9159 <int value="25" label="SQLITE_RANGE">
9160 2nd parameter to sqlite3_bind out of range
9161 </int>
9162 <int value="26" label="SQLITE_NOTADB">
9163 File opened that is not a database file
9164 </int>
9165 <int value="100" label="SQLITE_ROW">sqlite3_step() has another row ready</int>
9166 <int value="101" label="SQLITE_DONE">
9167 sqlite3_step() has finished executing
9168 </int>
9169 </enum>
9170
9171 <enum name="SqliteIOERRCode" type="int">
9172 <summary>Extended error codes returned by SQLite - see sqlite.h</summary>
9173 <int value="0" label="SQLITE_IOERR">No extended code given</int>
9174 <int value="1" label="SQLITE_IOERR_READ">Error reading from file</int>
9175 <int value="2" label="SQLITE_IOERR_SHORT_READ">Short read from file</int>
9176 <int value="3" label="SQLITE_IOERR_WRITE">
9177 Error writing to file (other than SQLITE_FULL)
9178 </int>
9179 <int value="4" label="SQLITE_IOERR_FSYNC">Error syncing to disk</int>
9180 <int value="5" label="SQLITE_IOERR_DIR_FSYNC">
9181 Error syncing directory changes to disk
9182 </int>
9183 <int value="6" label="SQLITE_IOERR_TRUNCATE">Error truncating file</int>
9184 <int value="7" label="SQLITE_IOERR_FSTAT">Error reading file metadata</int>
9185 <int value="8" label="SQLITE_IOERR_UNLOCK">Error unlocking file</int>
9186 <int value="9" label="SQLITE_IOERR_RDLOCK">
9187 Error getting read lock - should not be possible
9188 </int>
9189 <int value="10" label="SQLITE_IOERR_DELETE">Error deleting file</int>
9190 <int value="11" label="SQLITE_IOERR_BLOCKED">
9191 Deadlock due to other process access to SQLite files
9192 </int>
9193 <int value="12" label="SQLITE_IOERR_NOMEM">Error mapping shared memory</int>
9194 <int value="13" label="SQLITE_IOERR_ACCESS">
9195 Error getting file attributes (other than not found)
9196 </int>
9197 <int value="14" label="SQLITE_IOERR_CHECKRESERVEDLOCK">
9198 Error while querying lock status
9199 </int>
9200 <int value="15" label="SQLITE_IOERR_LOCK">Error acquiring lock</int>
9201 <int value="16" label="SQLITE_IOERR_CLOSE">Error closing file</int>
9202 <int value="17" label="SQLITE_IOERR_DIR_CLOSE">Unused</int>
9203 <int value="18" label="SQLITE_IOERR_SHMOPEN">Error mmapping file</int>
9204 <int value="19" label="SQLITE_IOERR_SHMSIZE">
9205 Error in stat while mmapping file
9206 </int>
9207 <int value="20" label="SQLITE_IOERR_SHMLOCK">Unused</int>
9208 </enum>
9209
9068 <enum name="TcpSocketStatus" type="int"> 9210 <enum name="TcpSocketStatus" type="int">
9069 <int value="0" label="Unknown"/> 9211 <int value="0" label="Unknown"/>
9070 <int value="1" label="Fast Connection Return"/> 9212 <int value="1" label="Fast Connection Return"/>
9071 <int value="2" label="Slow Connection Return"/> 9213 <int value="2" label="Slow Connection Return"/>
9072 <int value="3" label="Connection Error"/> 9214 <int value="3" label="Connection Error"/>
9073 <int value="4" label="Syn Data Acknowledged"/> 9215 <int value="4" label="Syn Data Acknowledged"/>
9074 <int value="5" label="Syn Data Nacked"/> 9216 <int value="5" label="Syn Data Nacked"/>
9075 <int value="6" label="Syn Data Probe Failed"/> 9217 <int value="6" label="Syn Data Probe Failed"/>
9076 <int value="7" label="No syn data + ack (can't happen)"/> 9218 <int value="7" label="No syn data + ack (can't happen)"/>
9077 <int value="8" label="No syn data + nack"/> 9219 <int value="8" label="No syn data + nack"/>
(...skipping 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after
10353 <fieldtrial name="SSLResumption"> 10495 <fieldtrial name="SSLResumption">
10354 <group name="Resume_Handshake" label="Session Resumption"/> 10496 <group name="Resume_Handshake" label="Session Resumption"/>
10355 <group name="Full_Handshake" label="Full"/> 10497 <group name="Full_Handshake" label="Full"/>
10356 <affected-histogram name="Net.SSL_Connection_Latency"/> 10498 <affected-histogram name="Net.SSL_Connection_Latency"/>
10357 <affected-histogram name="Net.SSL_Connection_Latency_Google"/> 10499 <affected-histogram name="Net.SSL_Connection_Latency_Google"/>
10358 </fieldtrial> 10500 </fieldtrial>
10359 10501
10360 </fieldtrials> 10502 </fieldtrials>
10361 10503
10362 </histogram-configuration> 10504 </histogram-configuration>
OLDNEW
« no previous file with comments | « sql/connection.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698