OLD | NEW |
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 // 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; | |
10 | |
11 package metrics; | 9 package metrics; |
12 | 10 |
13 | 11 |
14 // Next tag: 4 | 12 // Next tag: 4 |
15 message ProfilerEventProto { | 13 message ProfilerEventProto { |
16 // The type of this profile. | 14 // The type of this profile. |
17 enum ProfileType { | 15 enum ProfileType { |
18 UNKNOWN_PROFILE = 0; // Unknown type (should not reach here). | 16 UNKNOWN_PROFILE = 0; // Unknown type (should not reach here). |
19 STARTUP_PROFILE = 1; // Startup profile, logged approximately 60 seconds | 17 STARTUP_PROFILE = 1; // Startup profile, logged approximately 60 seconds |
20 // after launch. | 18 // after launch. |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 PPAPI_PLUGIN = 12; | 81 PPAPI_PLUGIN = 12; |
84 PPAPI_BROKER = 13; | 82 PPAPI_BROKER = 13; |
85 } | 83 } |
86 optional ProcessType process_type = 11; | 84 optional ProcessType process_type = 11; |
87 | 85 |
88 // The local PID for the process within which this task was executed. | 86 // The local PID for the process within which this task was executed. |
89 optional uint32 process_id = 12; | 87 optional uint32 process_id = 12; |
90 } | 88 } |
91 repeated TrackedObject tracked_object = 3; | 89 repeated TrackedObject tracked_object = 3; |
92 } | 90 } |
OLD | NEW |