1 // Copyright 2018 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 #ifndef SkTraceEventPhase_DEFINED 5 #define SkTraceEventPhase_DEFINED 6 7 // Phase indicates the nature of an event entry. E.g. part of a begin/end pair. 8 #define TRACE_EVENT_PHASE_BEGIN ('B') 9 #define TRACE_EVENT_PHASE_END ('E') 10 #define TRACE_EVENT_PHASE_COMPLETE ('X') 11 #define TRACE_EVENT_PHASE_INSTANT ('I') 12 #define TRACE_EVENT_PHASE_ASYNC_BEGIN ('S') 13 #define TRACE_EVENT_PHASE_ASYNC_END ('F') 14 #define TRACE_EVENT_PHASE_COUNTER ('C') 15 #define TRACE_EVENT_PHASE_CREATE_OBJECT ('N') 16 #define TRACE_EVENT_PHASE_SNAPSHOT_OBJECT ('O') 17 #define TRACE_EVENT_PHASE_DELETE_OBJECT ('D') 18 19 #endif // SkTraceEventPhase_DEFINED 20