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

Side by Side Diff: components/tracing/tracing_messages.h

Issue 717083003: Report trace buffer usage as number of events, not only percentage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 (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 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/sync_socket.h" 10 #include "base/sync_socket.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Child processes send back trace data in JSON chunks. 63 // Child processes send back trace data in JSON chunks.
64 IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceDataCollected, 64 IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceDataCollected,
65 std::string /*json trace data*/) 65 std::string /*json trace data*/)
66 66
67 // Child processes send back trace data of the current monitoring 67 // Child processes send back trace data of the current monitoring
68 // in JSON chunks. 68 // in JSON chunks.
69 IPC_MESSAGE_CONTROL1(TracingHostMsg_MonitoringTraceDataCollected, 69 IPC_MESSAGE_CONTROL1(TracingHostMsg_MonitoringTraceDataCollected,
70 std::string /*json trace data*/) 70 std::string /*json trace data*/)
71 71
72 // Reply to TracingMsg_GetTraceBufferPercentFull. 72 // Reply to TracingMsg_GetTraceBufferPercentFull.
73 IPC_MESSAGE_CONTROL1(TracingHostMsg_TraceBufferPercentFullReply, 73 IPC_MESSAGE_CONTROL2(TracingHostMsg_TraceBufferPercentFullReply,
74 float /*trace buffer percent full*/) 74 float /*trace buffer percent full*/,
75 75 size_t /*trace buffer usage in number of events*/)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698