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

Side by Side Diff: base/debug/trace_event.h

Issue 399423005: Change instant event phase name from i to I (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // This header file defines the set of trace_event macros without specifying 5 // This header file defines the set of trace_event macros without specifying
6 // how the events actually get collected and stored. If you need to expose trace 6 // how the events actually get collected and stored. If you need to expose trace
7 // events to some other universe, you can copy-and-paste this file as well as 7 // events to some other universe, you can copy-and-paste this file as well as
8 // trace_event.h, modifying the macros contained there as necessary for the 8 // trace_event.h, modifying the macros contained there as necessary for the
9 // target platform. The end result is that multiple libraries can funnel events 9 // target platform. The end result is that multiple libraries can funnel events
10 // through to a shared trace event collector. 10 // through to a shared trace event collector.
(...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after
935 935
936 // Notes regarding the following definitions: 936 // Notes regarding the following definitions:
937 // New values can be added and propagated to third party libraries, but existing 937 // New values can be added and propagated to third party libraries, but existing
938 // definitions must never be changed, because third party libraries may use old 938 // definitions must never be changed, because third party libraries may use old
939 // definitions. 939 // definitions.
940 940
941 // Phase indicates the nature of an event entry. E.g. part of a begin/end pair. 941 // Phase indicates the nature of an event entry. E.g. part of a begin/end pair.
942 #define TRACE_EVENT_PHASE_BEGIN ('B') 942 #define TRACE_EVENT_PHASE_BEGIN ('B')
943 #define TRACE_EVENT_PHASE_END ('E') 943 #define TRACE_EVENT_PHASE_END ('E')
944 #define TRACE_EVENT_PHASE_COMPLETE ('X') 944 #define TRACE_EVENT_PHASE_COMPLETE ('X')
945 #define TRACE_EVENT_PHASE_INSTANT ('i') 945 #define TRACE_EVENT_PHASE_INSTANT ('I')
946 #define TRACE_EVENT_PHASE_ASYNC_BEGIN ('S') 946 #define TRACE_EVENT_PHASE_ASYNC_BEGIN ('S')
947 #define TRACE_EVENT_PHASE_ASYNC_STEP_INTO ('T') 947 #define TRACE_EVENT_PHASE_ASYNC_STEP_INTO ('T')
948 #define TRACE_EVENT_PHASE_ASYNC_STEP_PAST ('p') 948 #define TRACE_EVENT_PHASE_ASYNC_STEP_PAST ('p')
949 #define TRACE_EVENT_PHASE_ASYNC_END ('F') 949 #define TRACE_EVENT_PHASE_ASYNC_END ('F')
950 #define TRACE_EVENT_PHASE_FLOW_BEGIN ('s') 950 #define TRACE_EVENT_PHASE_FLOW_BEGIN ('s')
951 #define TRACE_EVENT_PHASE_FLOW_STEP ('t') 951 #define TRACE_EVENT_PHASE_FLOW_STEP ('t')
952 #define TRACE_EVENT_PHASE_FLOW_END ('f') 952 #define TRACE_EVENT_PHASE_FLOW_END ('f')
953 #define TRACE_EVENT_PHASE_METADATA ('M') 953 #define TRACE_EVENT_PHASE_METADATA ('M')
954 #define TRACE_EVENT_PHASE_COUNTER ('C') 954 #define TRACE_EVENT_PHASE_COUNTER ('C')
955 #define TRACE_EVENT_PHASE_SAMPLE ('P') 955 #define TRACE_EVENT_PHASE_SAMPLE ('P')
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after
1510 const char* name_; 1510 const char* name_;
1511 IDType id_; 1511 IDType id_;
1512 1512
1513 DISALLOW_COPY_AND_ASSIGN(TraceScopedTrackableObject); 1513 DISALLOW_COPY_AND_ASSIGN(TraceScopedTrackableObject);
1514 }; 1514 };
1515 1515
1516 } // namespace debug 1516 } // namespace debug
1517 } // namespace base 1517 } // namespace base
1518 1518
1519 #endif /* BASE_DEBUG_TRACE_EVENT_H_ */ 1519 #endif /* BASE_DEBUG_TRACE_EVENT_H_ */
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698