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