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

Side by Side Diff: components/metrics/proto/system_profile.proto

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.cc ('k') | components/metrics/stability_metrics_helper.h » ('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 // 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 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 optional bool is_disabled = 4; 433 optional bool is_disabled = 4;
434 434
435 // True if the plugin is PPAPI. 435 // True if the plugin is PPAPI.
436 optional bool is_pepper = 5; 436 optional bool is_pepper = 5;
437 } 437 }
438 repeated Plugin plugin = 7; 438 repeated Plugin plugin = 7;
439 439
440 // Figures that can be used to generate application stability metrics. 440 // Figures that can be used to generate application stability metrics.
441 // All values are counts of events since the last time that these 441 // All values are counts of events since the last time that these
442 // values were reported. 442 // values were reported.
443 // Next tag: 26 443 // Next tag: 28
444 message Stability { 444 message Stability {
445 // Total amount of time that the program was running, in seconds, 445 // Total amount of time that the program was running, in seconds,
446 // since the last time a log was recorded, as measured using a client-side 446 // since the last time a log was recorded, as measured using a client-side
447 // clock implemented via TimeTicks, which guarantees that it is monotonic 447 // clock implemented via TimeTicks, which guarantees that it is monotonic
448 // and does not jump if the user changes their clock. The TimeTicks 448 // and does not jump if the user changes their clock. The TimeTicks
449 // implementation also makes the clock not count time the computer is 449 // implementation also makes the clock not count time the computer is
450 // suspended. 450 // suspended.
451 optional int64 incremental_uptime_sec = 1; 451 optional int64 incremental_uptime_sec = 1;
452 452
453 // Total amount of time that the program was running, in seconds, 453 // Total amount of time that the program was running, in seconds,
454 // since startup, as measured using a client-side clock implemented 454 // since startup, as measured using a client-side clock implemented
455 // via TimeTicks, which guarantees that it is monotonic and does not 455 // via TimeTicks, which guarantees that it is monotonic and does not
456 // jump if the user changes their clock. The TimeTicks implementation 456 // jump if the user changes their clock. The TimeTicks implementation
457 // also makes the clock not count time the computer is suspended. 457 // also makes the clock not count time the computer is suspended.
458 // This field was added for M-35. 458 // This field was added for M-35.
459 optional int64 uptime_sec = 23; 459 optional int64 uptime_sec = 23;
460 460
461 // Page loads along with renderer crashes, hangs and failed launches, since 461 // Page loads along with renderer launches, crashes, hangs and failed
462 // page load count roughly corresponds to usage. 462 // launches, since page load count roughly corresponds to usage.
463 optional int32 page_load_count = 2; 463 optional int32 page_load_count = 2;
464 optional int32 renderer_crash_count = 3; 464 optional int32 renderer_crash_count = 3;
465 optional int32 renderer_hang_count = 4; 465 optional int32 renderer_hang_count = 4;
466 optional int32 renderer_failed_launch_count = 24; 466 optional int32 renderer_failed_launch_count = 24;
467 optional int32 renderer_launch_count = 26;
467 468
468 // Number of renderer crashes and failed launches that were for extensions. 469 // Number of renderer launches, crashes and failed launches that were for
469 // These are not counted in the renderer counts above. 470 // extensions. These are not counted in the renderer counts above.
470 optional int32 extension_renderer_crash_count = 5; 471 optional int32 extension_renderer_crash_count = 5;
471 optional int32 extension_renderer_failed_launch_count = 25; 472 optional int32 extension_renderer_failed_launch_count = 25;
473 optional int32 extension_renderer_launch_count = 27;
472 474
473 // Number of non-renderer child process crashes. 475 // Number of non-renderer child process crashes.
474 optional int32 child_process_crash_count = 6; 476 optional int32 child_process_crash_count = 6;
475 477
476 // Number of times the browser has crashed while logged in as the "other 478 // Number of times the browser has crashed while logged in as the "other
477 // user" (guest) account. 479 // user" (guest) account.
478 // Logged on ChromeOS only. 480 // Logged on ChromeOS only.
479 optional int32 other_user_crash_count = 7; 481 optional int32 other_user_crash_count = 7;
480 482
481 // Number of times the kernel has crashed. 483 // Number of times the kernel has crashed.
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 811
810 // The hash of the product version. Might not be set if the product version 812 // The hash of the product version. Might not be set if the product version
811 // could not be obtained from the disk. 813 // could not be obtained from the disk.
812 optional fixed32 product_version_hash = 4; 814 optional fixed32 product_version_hash = 4;
813 815
814 // The current state of the product. 816 // The current state of the product.
815 optional AntiVirusState product_state = 5; 817 optional AntiVirusState product_state = 5;
816 } 818 }
817 repeated AntiVirusProduct antivirus_product = 23; 819 repeated AntiVirusProduct antivirus_product = 23;
818 } 820 }
OLDNEW
« no previous file with comments | « components/metrics/metrics_pref_names.cc ('k') | components/metrics/stability_metrics_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698