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

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

Issue 1421293005: Move new Startup.FirstWebContents.* stats to Startup.FirstWebContents.*2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ab2_moar_betta_metrics
Patch Set: Created 5 years, 1 month 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 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 // Performance metrics collected via Chrome's built-in profiler. 5 // Performance metrics collected via Chrome's built-in profiler.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 option java_outer_classname = "ProfilerEventProtos"; 10 option java_outer_classname = "ProfilerEventProtos";
(...skipping 25 matching lines...) Expand all
36 } 36 }
37 optional TimeSource time_source = 2; 37 optional TimeSource time_source = 2;
38 38
39 // An event in the browser life that causes the client-side profiler framework 39 // An event in the browser life that causes the client-side profiler framework
40 // to finish recording of its current instance of ProfilerEventProto, and 40 // to finish recording of its current instance of ProfilerEventProto, and
41 // start recording a new one. 41 // start recording a new one.
42 // It's not guaranteed that the events get triggered in the order they are 42 // It's not guaranteed that the events get triggered in the order they are
43 // defined. 43 // defined.
44 enum ProfilerEvent { 44 enum ProfilerEvent {
45 // The first non-empty paint of the first web contents happened. 45 // The first non-empty paint of the first web contents happened.
46 // Corresponds to the Startup.FirstWebContents.NonEmptyPaint histogram. 46 // Corresponds to the Startup.FirstWebContents.NonEmptyPaint2 histogram.
47 EVENT_FIRST_NONEMPTY_PAINT = 0; 47 EVENT_FIRST_NONEMPTY_PAINT = 0;
48 } 48 }
49 49
50 // The set of events, in no particular order, that were triggered in the 50 // The set of events, in no particular order, that were triggered in the
51 // current Chrome session before the recording of this ProfilerEventProto 51 // current Chrome session before the recording of this ProfilerEventProto
52 // started. It doesn't include the event that triggered the end of this 52 // started. It doesn't include the event that triggered the end of this
53 // ProfilerEventProto. A given event will not occur twice in this set. 53 // ProfilerEventProto. A given event will not occur twice in this set.
54 // The field can be used to find all ProfilerEventProto instances recorded 54 // The field can be used to find all ProfilerEventProto instances recorded
55 // before or not before a given event. 55 // before or not before a given event.
56 repeated ProfilerEvent past_session_event = 4; 56 repeated ProfilerEvent past_session_event = 4;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 PPAPI_PLUGIN = 12; 117 PPAPI_PLUGIN = 12;
118 PPAPI_BROKER = 13; 118 PPAPI_BROKER = 13;
119 } 119 }
120 optional ProcessType process_type = 11; 120 optional ProcessType process_type = 11;
121 121
122 // The local PID for the process within which this task was executed. 122 // The local PID for the process within which this task was executed.
123 optional uint32 process_id = 12; 123 optional uint32 process_id = 12;
124 } 124 }
125 repeated TrackedObject tracked_object = 3; 125 repeated TrackedObject tracked_object = 3;
126 } 126 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/profile_error_browsertest.cc ('k') | components/startup_metric_utils/startup_metric_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698