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

Side by Side Diff: components/metrics/metrics_pref_names.cc

Issue 2130753004: Add renderer launch count to stability metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not report on chromecast Created 4 years, 5 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
« no previous file with comments | « components/metrics/metrics_pref_names.h ('k') | components/metrics/proto/system_profile.proto » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/metrics/metrics_pref_names.h" 5 #include "components/metrics/metrics_pref_names.h"
6 6
7 namespace metrics { 7 namespace metrics {
8 namespace prefs { 8 namespace prefs {
9 9
10 // Set once, to the current epoch time, on the first run of chrome on this 10 // Set once, to the current epoch time, on the first run of chrome on this
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 // Number of times an extension renderer process crashed since the last report. 105 // Number of times an extension renderer process crashed since the last report.
106 const char kStabilityExtensionRendererCrashCount[] = 106 const char kStabilityExtensionRendererCrashCount[] =
107 "user_experience_metrics.stability.extension_renderer_crash_count"; 107 "user_experience_metrics.stability.extension_renderer_crash_count";
108 108
109 // Number of times an extension renderer process failed to launch since the last 109 // Number of times an extension renderer process failed to launch since the last
110 // report. 110 // report.
111 const char kStabilityExtensionRendererFailedLaunchCount[] = 111 const char kStabilityExtensionRendererFailedLaunchCount[] =
112 "user_experience_metrics.stability.extension_renderer_failed_launch_count"; 112 "user_experience_metrics.stability.extension_renderer_failed_launch_count";
113 113
114 // Number of times an extension renderer process successfully launched since the
115 // last report.
116 const char kStabilityExtensionRendererLaunchCount[] =
117 "user_experience_metrics.stability.extension_renderer_launch_count";
118
114 // Number of times the session end did not complete. 119 // Number of times the session end did not complete.
115 const char kStabilityIncompleteSessionEndCount[] = 120 const char kStabilityIncompleteSessionEndCount[] =
116 "user_experience_metrics.stability.incomplete_session_end_count"; 121 "user_experience_metrics.stability.incomplete_session_end_count";
117 122
118 // Time when the app was last known to be running, in seconds since 123 // Time when the app was last known to be running, in seconds since
119 // the epoch. 124 // the epoch.
120 const char kStabilityLastTimestampSec[] = 125 const char kStabilityLastTimestampSec[] =
121 "user_experience_metrics.stability.last_timestamp_sec"; 126 "user_experience_metrics.stability.last_timestamp_sec";
122 127
123 // Number of times the application was launched since last report. 128 // Number of times the application was launched since last report.
(...skipping 14 matching lines...) Expand all
138 143
139 // Number of times a renderer process failed to launch since the last report. 144 // Number of times a renderer process failed to launch since the last report.
140 const char kStabilityRendererFailedLaunchCount[] = 145 const char kStabilityRendererFailedLaunchCount[] =
141 "user_experience_metrics.stability.renderer_failed_launch_count"; 146 "user_experience_metrics.stability.renderer_failed_launch_count";
142 147
143 // Number of times the renderer has become non-responsive since the last 148 // Number of times the renderer has become non-responsive since the last
144 // report. 149 // report.
145 const char kStabilityRendererHangCount[] = 150 const char kStabilityRendererHangCount[] =
146 "user_experience_metrics.stability.renderer_hang_count"; 151 "user_experience_metrics.stability.renderer_hang_count";
147 152
153 // Number of times a renderer process successfully launched since the last
154 // report.
155 const char kStabilityRendererLaunchCount[] =
156 "user_experience_metrics.stability.renderer_launch_count";
157
148 // Base64 encoded serialized UMA system profile proto from the previous session. 158 // Base64 encoded serialized UMA system profile proto from the previous session.
149 const char kStabilitySavedSystemProfile[] = 159 const char kStabilitySavedSystemProfile[] =
150 "user_experience_metrics.stability.saved_system_profile"; 160 "user_experience_metrics.stability.saved_system_profile";
151 161
152 // SHA-1 hash of the serialized UMA system profile proto (hex encoded). 162 // SHA-1 hash of the serialized UMA system profile proto (hex encoded).
153 const char kStabilitySavedSystemProfileHash[] = 163 const char kStabilitySavedSystemProfileHash[] =
154 "user_experience_metrics.stability.saved_system_profile_hash"; 164 "user_experience_metrics.stability.saved_system_profile_hash";
155 165
156 // False if we received a session end and either we crashed during processing 166 // False if we received a session end and either we crashed during processing
157 // the session end or ran out of time and windows terminated us. 167 // the session end or ran out of time and windows terminated us.
(...skipping 21 matching lines...) Expand all
179 // Dictionary for measuring cellular data used by UMA service during last 7 189 // Dictionary for measuring cellular data used by UMA service during last 7
180 // days. 190 // days.
181 const char kUmaCellDataUse[] = "user_experience_metrics.uma_cell_datause"; 191 const char kUmaCellDataUse[] = "user_experience_metrics.uma_cell_datause";
182 192
183 // Dictionary for measuring cellular data used by user including chrome services 193 // Dictionary for measuring cellular data used by user including chrome services
184 // per day. 194 // per day.
185 const char kUserCellDataUse[] = "user_experience_metrics.user_call_datause"; 195 const char kUserCellDataUse[] = "user_experience_metrics.user_call_datause";
186 196
187 } // namespace prefs 197 } // namespace prefs
188 } // namespace metrics 198 } // namespace metrics
OLDNEW
« no previous file with comments | « components/metrics/metrics_pref_names.h ('k') | components/metrics/proto/system_profile.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698