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

Side by Side Diff: remoting/base/protocol/trace.proto

Issue 3169047: Add in some infrastructure to make tracing of logical requests broken over async callbacks easier. (Closed) Base URL: git://codf21.jail.google.com/chromium.git
Patch Set: sent Created 10 years, 3 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
« no previous file with comments | « remoting/base/protocol/chromotocol.gyp ('k') | remoting/base/tracer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // Protocol buffers for creating performance traces on requests.
6
7 syntax = "proto2";
8
9 option optimize_for = LITE_RUNTIME;
10
11 package remoting;
12
13 // Represents one entry in the TraceBuffer below. Collates information that
14 // would be useful for analyzing the performance in a program trace.
15 message TraceRecord {
16 required string annotation = 1;
17 required int64 timestamp = 2; // In micros from epoch.
18
19 // -- Information for constructing a distributed trace. --
20 // TODO(ajwong): Decide which of these are useful, and remove rest.
21
22 // Identifies the machine.
23 optional int64 source_id = 3 [ default = -1 ];
24
25 // Identifies the thread on the machine.
26 optional fixed64 thread_id = 4;
27
28 // Estimated skew from master clock.
29 optional int64 clock_skew = 5 [ default = 0 ];
30 }
31
32 // Protocol buffer used for collecting stats, and performance data.
33 message TraceBuffer {
34 required string name = 1; // Name of this trace.
35 repeated TraceRecord record = 2;
36 }
37
OLDNEW
« no previous file with comments | « remoting/base/protocol/chromotocol.gyp ('k') | remoting/base/tracer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698