OLD | NEW |
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 | 10 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // Corresponds to the Startup.FirstWebContents.NonEmptyPaint histogram. | 44 // Corresponds to the Startup.FirstWebContents.NonEmptyPaint histogram. |
45 EVENT_FIRST_NONEMPTY_PAINT = 0; | 45 EVENT_FIRST_NONEMPTY_PAINT = 0; |
46 } | 46 } |
47 | 47 |
48 // The set of events, in no particular order, that were triggered in the | 48 // The set of events, in no particular order, that were triggered in the |
49 // current Chrome session before the recording of this ProfilerEventProto | 49 // current Chrome session before the recording of this ProfilerEventProto |
50 // started. It doesn't include the event that triggered the end of this | 50 // started. It doesn't include the event that triggered the end of this |
51 // ProfilerEventProto. A given event will not occur twice in this set. | 51 // ProfilerEventProto. A given event will not occur twice in this set. |
52 // The field can be used to find all ProfilerEventProto instances recorded | 52 // The field can be used to find all ProfilerEventProto instances recorded |
53 // before or not before a given event. | 53 // before or not before a given event. |
54 repeated ProfilerEvent past_session_events = 4; | 54 repeated ProfilerEvent past_session_event = 4; |
55 | 55 |
56 // Time when profiling started. This is recorded as a time delta relative to | 56 // Time when profiling started. This is recorded as a time delta relative to |
57 // the start time of the profiler data recording in the current browser | 57 // the start time of the profiler data recording in the current browser |
58 // session. | 58 // session. |
59 optional int64 profiling_start_ms = 5; | 59 optional int64 profiling_start_ms = 5; |
60 | 60 |
61 // Time when profiling finished. This is recorded as a time delta relative to | 61 // Time when profiling finished. This is recorded as a time delta relative to |
62 // the start time of the profiler data recording in the current browser | 62 // the start time of the profiler data recording in the current browser |
63 // session. | 63 // session. |
64 optional int64 profiling_finish_ms = 6; | 64 optional int64 profiling_finish_ms = 6; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 PPAPI_PLUGIN = 12; | 115 PPAPI_PLUGIN = 12; |
116 PPAPI_BROKER = 13; | 116 PPAPI_BROKER = 13; |
117 } | 117 } |
118 optional ProcessType process_type = 11; | 118 optional ProcessType process_type = 11; |
119 | 119 |
120 // The local PID for the process within which this task was executed. | 120 // The local PID for the process within which this task was executed. |
121 optional uint32 process_id = 12; | 121 optional uint32 process_id = 12; |
122 } | 122 } |
123 repeated TrackedObject tracked_object = 3; | 123 repeated TrackedObject tracked_object = 3; |
124 } | 124 } |
OLD | NEW |