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

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

Issue 985773002: Introducing phased profiling framework (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@write_to_file
Patch Set: Fixing Android compile errors. Created 5 years, 8 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
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 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « components/metrics/profiler/tracking_synchronizer_unittest.cc ('k') | components/nacl/browser/nacl_broker_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698