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

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

Issue 2444143002: Add process lifetime annotations to stack samples. (Closed)
Patch Set: addressed review comments and finished converting tests Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 option java_outer_classname = "ExecutionContextProtos"; 8 option java_outer_classname = "ExecutionContextProtos";
9 option java_package = "org.chromium.components.metrics"; 9 option java_package = "org.chromium.components.metrics";
10 10
(...skipping 29 matching lines...) Expand all
40 IO_THREAD = 6; 40 IO_THREAD = 6;
41 DB_THREAD = 7; 41 DB_THREAD = 7;
42 42
43 // GPU process thread. 43 // GPU process thread.
44 GPU_MAIN_THREAD = 8; 44 GPU_MAIN_THREAD = 8;
45 45
46 // Renderer process threads. 46 // Renderer process threads.
47 RENDER_THREAD = 9; 47 RENDER_THREAD = 9;
48 UTILITY_THREAD = 10; 48 UTILITY_THREAD = 10;
49 } 49 }
50
51 // Process phases, or where in the lifetime of the process it is such as
52 // startup, normal operation, shutdown, etc. These don't necessarily occur in
53 // the order defined here so it's fine to add new ones to further segregrate
54 // the lifetime of a process.
55 enum ProcessPhase {
56 // The browser's main message loop has been started.
57 // Based on histogram Startup.BrowserMainRunnerImplInitializeStep2Time
Mike Wittman 2016/11/16 22:36:10 nit: period at end of comment (and other cases bel
bcwhite 2016/11/16 23:10:49 Done.
58 MAIN_LOOP_START = 0;
59
60 // The beginning of navigation in the first web contents' main frame.
61 // Based on histogram Startup.FirstWebContents.MainNavigationStart
62 MAIN_NAVIGATION_START = 1;
63
64 // The navigation is committed (first bytes received) in the first web
65 // contents' main frame.
66 // Based on histogram Startup.FirstWebContents.MainNavigationFinished
67 MAIN_NAVIGATION_FINISHED = 2;
68
69 // First non-empty paint of the first web contents.
70 // Based on histogram Startup.FirstWebContents.NonEmptyPaint2
71 FIRST_NONEMPTY_PAINT = 3;
72
73 // Process shutdown has begun.
74 SHUTDOWN_START = 4;
75 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698