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

Side by Side Diff: Source/platform/TraceEvent.h

Issue 408443002: Remove TRACE_EVENT_PHASE_INSTANT_WITH_SCOPE (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use 'I' for phase id to match Chromium 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 | « Source/core/inspector/TraceEventDispatcher.cpp ('k') | 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 625
626 // Notes regarding the following definitions: 626 // Notes regarding the following definitions:
627 // New values can be added and propagated to third party libraries, but existing 627 // New values can be added and propagated to third party libraries, but existing
628 // definitions must never be changed, because third party libraries may use old 628 // definitions must never be changed, because third party libraries may use old
629 // definitions. 629 // definitions.
630 630
631 // Phase indicates the nature of an event entry. E.g. part of a begin/end pair. 631 // Phase indicates the nature of an event entry. E.g. part of a begin/end pair.
632 #define TRACE_EVENT_PHASE_BEGIN ('B') 632 #define TRACE_EVENT_PHASE_BEGIN ('B')
633 #define TRACE_EVENT_PHASE_END ('E') 633 #define TRACE_EVENT_PHASE_END ('E')
634 #define TRACE_EVENT_PHASE_COMPLETE ('X') 634 #define TRACE_EVENT_PHASE_COMPLETE ('X')
635 // FIXME: unify instant events handling between blink and platform.
636 #define TRACE_EVENT_PHASE_INSTANT ('I') 635 #define TRACE_EVENT_PHASE_INSTANT ('I')
637 #define TRACE_EVENT_PHASE_INSTANT_WITH_SCOPE ('i')
638 #define TRACE_EVENT_PHASE_ASYNC_BEGIN ('S') 636 #define TRACE_EVENT_PHASE_ASYNC_BEGIN ('S')
639 #define TRACE_EVENT_PHASE_ASYNC_STEP_INTO ('T') 637 #define TRACE_EVENT_PHASE_ASYNC_STEP_INTO ('T')
640 #define TRACE_EVENT_PHASE_ASYNC_STEP_PAST ('p') 638 #define TRACE_EVENT_PHASE_ASYNC_STEP_PAST ('p')
641 #define TRACE_EVENT_PHASE_ASYNC_END ('F') 639 #define TRACE_EVENT_PHASE_ASYNC_END ('F')
642 #define TRACE_EVENT_PHASE_METADATA ('M') 640 #define TRACE_EVENT_PHASE_METADATA ('M')
643 #define TRACE_EVENT_PHASE_COUNTER ('C') 641 #define TRACE_EVENT_PHASE_COUNTER ('C')
644 #define TRACE_EVENT_PHASE_SAMPLE ('P') 642 #define TRACE_EVENT_PHASE_SAMPLE ('P')
645 #define TRACE_EVENT_PHASE_CREATE_OBJECT ('N') 643 #define TRACE_EVENT_PHASE_CREATE_OBJECT ('N')
646 #define TRACE_EVENT_PHASE_DELETE_OBJECT ('D') 644 #define TRACE_EVENT_PHASE_DELETE_OBJECT ('D')
647 645
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 const char* m_categoryGroup; 999 const char* m_categoryGroup;
1002 const char* m_name; 1000 const char* m_name;
1003 IDType m_id; 1001 IDType m_id;
1004 }; 1002 };
1005 1003
1006 } // namespace TraceEvent 1004 } // namespace TraceEvent
1007 1005
1008 } // namespace blink 1006 } // namespace blink
1009 1007
1010 #endif 1008 #endif
OLDNEW
« no previous file with comments | « Source/core/inspector/TraceEventDispatcher.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698