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

Side by Side Diff: chrome/common/metrics/proto/system_profile.proto

Issue 108683003: Store gpu crashes in the systemprofileproto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ALexei comments 2 Created 7 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Stores information about the user's brower and system configuration. 5 // Stores information about the user's brower and system configuration.
6 // The system configuration fields are recorded once per client session. 6 // The system configuration fields are recorded once per client session.
7 7
8 syntax = "proto2"; 8 syntax = "proto2";
9 9
10 option optimize_for = LITE_RUNTIME; 10 option optimize_for = LITE_RUNTIME;
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 // True if the plugin is disabled. 318 // True if the plugin is disabled.
319 // If a client has multiple local Chrome user accounts, this is logged based 319 // If a client has multiple local Chrome user accounts, this is logged based
320 // on the first user account launched during the current session. 320 // on the first user account launched during the current session.
321 optional bool is_disabled = 4; 321 optional bool is_disabled = 4;
322 322
323 // True if the plugin is PPAPI. 323 // True if the plugin is PPAPI.
324 optional bool is_pepper = 5; 324 optional bool is_pepper = 5;
325 } 325 }
326 repeated Plugin plugin = 7; 326 repeated Plugin plugin = 7;
327 327
328 // Next tag: 24
328 // Figures that can be used to generate application stability metrics. 329 // Figures that can be used to generate application stability metrics.
329 // All values are counts of events since the last time that these 330 // All values are counts of events since the last time that these
330 // values were reported. 331 // values were reported.
331 message Stability { 332 message Stability {
332 // Total amount of time that the program was running, in seconds. 333 // Total amount of time that the program was running, in seconds.
333 optional int64 uptime_sec = 1; 334 optional int64 uptime_sec = 1;
334 335
335 // Page loads along with renderer crashes and hangs, since page load count 336 // Page loads along with renderer crashes and hangs, since page load count
336 // roughly corresponds to usage. 337 // roughly corresponds to usage.
337 optional int32 page_load_count = 2; 338 optional int32 page_load_count = 2;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // The number of times the program has run under a debugger. This should 392 // The number of times the program has run under a debugger. This should
392 // be an exceptional condition. Running under a debugger prevents crash 393 // be an exceptional condition. Running under a debugger prevents crash
393 // dumps from being generated. 394 // dumps from being generated.
394 optional int32 debugger_present_count = 20; 395 optional int32 debugger_present_count = 20;
395 396
396 // The number of times the program has run without a debugger attached. 397 // The number of times the program has run without a debugger attached.
397 // This should be most common scenario and should be very close to 398 // This should be most common scenario and should be very close to
398 // |launch_count|. 399 // |launch_count|.
399 optional int32 debugger_not_present_count = 21; 400 optional int32 debugger_not_present_count = 21;
400 401
402 // The number of all types of GPU crashes. Further details can be seen in
403 // the GPU.GPUProcessTerminationStatus histogram.
404 optional int32 gpu_crash_count = 23;
Ilya Sherman 2013/12/16 23:04:39 nit: Hmm, I would probably move this to be grouped
405
401 // Stability information for all installed plugins. 406 // Stability information for all installed plugins.
402 message PluginStability { 407 message PluginStability {
403 // The relevant plugin's information (name, etc.) 408 // The relevant plugin's information (name, etc.)
404 optional Plugin plugin = 1; 409 optional Plugin plugin = 1;
405 410
406 // The number of times this plugin's process was launched. 411 // The number of times this plugin's process was launched.
407 optional int32 launch_count = 2; 412 optional int32 launch_count = 2;
408 413
409 // The number of times this plugin was instantiated on a web page. 414 // The number of times this plugin was instantiated on a web page.
410 // This will be >= |launch_count|. 415 // This will be >= |launch_count|.
(...skipping 25 matching lines...) Expand all
436 // Currently, the identifier is a hash of the group's name. 441 // Currently, the identifier is a hash of the group's name.
437 optional fixed32 group_id = 2; 442 optional fixed32 group_id = 2;
438 } 443 }
439 repeated FieldTrial field_trial = 9; 444 repeated FieldTrial field_trial = 9;
440 445
441 // Number of users currently signed into a multiprofile session. 446 // Number of users currently signed into a multiprofile session.
442 // A zero value indicates that the user count changed while the log is open. 447 // A zero value indicates that the user count changed while the log is open.
443 // Logged only on ChromeOS. 448 // Logged only on ChromeOS.
444 optional uint32 multi_profile_user_count = 17; 449 optional uint32 multi_profile_user_count = 17;
445 } 450 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698