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

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

Issue 59793003: Emit CommitFrame and BeginFrame for impl-side frames (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased on top of TraceEventDispatcher refactoring Created 7 years 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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 624
625 // Notes regarding the following definitions: 625 // Notes regarding the following definitions:
626 // New values can be added and propagated to third party libraries, but existing 626 // New values can be added and propagated to third party libraries, but existing
627 // definitions must never be changed, because third party libraries may use old 627 // definitions must never be changed, because third party libraries may use old
628 // definitions. 628 // definitions.
629 629
630 // Phase indicates the nature of an event entry. E.g. part of a begin/end pair. 630 // Phase indicates the nature of an event entry. E.g. part of a begin/end pair.
631 #define TRACE_EVENT_PHASE_BEGIN ('B') 631 #define TRACE_EVENT_PHASE_BEGIN ('B')
632 #define TRACE_EVENT_PHASE_END ('E') 632 #define TRACE_EVENT_PHASE_END ('E')
633 #define TRACE_EVENT_PHASE_COMPLETE ('X') 633 #define TRACE_EVENT_PHASE_COMPLETE ('X')
634 // FIXME: unify instant events handling between blink and platform.
634 #define TRACE_EVENT_PHASE_INSTANT ('I') 635 #define TRACE_EVENT_PHASE_INSTANT ('I')
636 #define TRACE_EVENT_PHASE_INSTANT_WITH_SCOPE ('i')
635 #define TRACE_EVENT_PHASE_ASYNC_BEGIN ('S') 637 #define TRACE_EVENT_PHASE_ASYNC_BEGIN ('S')
636 #define TRACE_EVENT_PHASE_ASYNC_STEP_INTO ('T') 638 #define TRACE_EVENT_PHASE_ASYNC_STEP_INTO ('T')
637 #define TRACE_EVENT_PHASE_ASYNC_STEP_PAST ('p') 639 #define TRACE_EVENT_PHASE_ASYNC_STEP_PAST ('p')
638 #define TRACE_EVENT_PHASE_ASYNC_END ('F') 640 #define TRACE_EVENT_PHASE_ASYNC_END ('F')
639 #define TRACE_EVENT_PHASE_METADATA ('M') 641 #define TRACE_EVENT_PHASE_METADATA ('M')
640 #define TRACE_EVENT_PHASE_COUNTER ('C') 642 #define TRACE_EVENT_PHASE_COUNTER ('C')
641 #define TRACE_EVENT_PHASE_SAMPLE ('P') 643 #define TRACE_EVENT_PHASE_SAMPLE ('P')
642 #define TRACE_EVENT_PHASE_CREATE_OBJECT ('N') 644 #define TRACE_EVENT_PHASE_CREATE_OBJECT ('N')
643 #define TRACE_EVENT_PHASE_DELETE_OBJECT ('D') 645 #define TRACE_EVENT_PHASE_DELETE_OBJECT ('D')
644 646
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 const char* m_categoryGroup; 934 const char* m_categoryGroup;
933 const char* m_name; 935 const char* m_name;
934 IDType m_id; 936 IDType m_id;
935 }; 937 };
936 938
937 } // namespace TraceEvent 939 } // namespace TraceEvent
938 940
939 } // namespace WebCore 941 } // namespace WebCore
940 942
941 #endif 943 #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