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

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: Created 7 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 | Annotate | Revision Log
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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 // Notes regarding the following definitions: 597 // Notes regarding the following definitions:
598 // New values can be added and propagated to third party libraries, but existing 598 // New values can be added and propagated to third party libraries, but existing
599 // definitions must never be changed, because third party libraries may use old 599 // definitions must never be changed, because third party libraries may use old
600 // definitions. 600 // definitions.
601 601
602 // Phase indicates the nature of an event entry. E.g. part of a begin/end pair. 602 // Phase indicates the nature of an event entry. E.g. part of a begin/end pair.
603 #define TRACE_EVENT_PHASE_BEGIN ('B') 603 #define TRACE_EVENT_PHASE_BEGIN ('B')
604 #define TRACE_EVENT_PHASE_END ('E') 604 #define TRACE_EVENT_PHASE_END ('E')
605 #define TRACE_EVENT_PHASE_COMPLETE ('X') 605 #define TRACE_EVENT_PHASE_COMPLETE ('X')
606 #define TRACE_EVENT_PHASE_INSTANT ('I') 606 #define TRACE_EVENT_PHASE_INSTANT ('I')
607 #define TRACE_EVENT_PHASE_INSTANT_WITH_SCOPE ('i')
pfeldman 2013/11/06 17:07:21 Please add FIXME that you'd like to migrate from I
607 #define TRACE_EVENT_PHASE_ASYNC_BEGIN ('S') 608 #define TRACE_EVENT_PHASE_ASYNC_BEGIN ('S')
608 #define TRACE_EVENT_PHASE_ASYNC_STEP ('T') 609 #define TRACE_EVENT_PHASE_ASYNC_STEP ('T')
609 #define TRACE_EVENT_PHASE_ASYNC_END ('F') 610 #define TRACE_EVENT_PHASE_ASYNC_END ('F')
610 #define TRACE_EVENT_PHASE_METADATA ('M') 611 #define TRACE_EVENT_PHASE_METADATA ('M')
611 #define TRACE_EVENT_PHASE_COUNTER ('C') 612 #define TRACE_EVENT_PHASE_COUNTER ('C')
612 #define TRACE_EVENT_PHASE_SAMPLE ('P') 613 #define TRACE_EVENT_PHASE_SAMPLE ('P')
613 #define TRACE_EVENT_PHASE_CREATE_OBJECT ('N') 614 #define TRACE_EVENT_PHASE_CREATE_OBJECT ('N')
614 #define TRACE_EVENT_PHASE_DELETE_OBJECT ('D') 615 #define TRACE_EVENT_PHASE_DELETE_OBJECT ('D')
615 616
616 // Flags for changing the behavior of TRACE_EVENT_API_ADD_TRACE_EVENT. 617 // Flags for changing the behavior of TRACE_EVENT_API_ADD_TRACE_EVENT.
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
901 const char* m_categoryGroup; 902 const char* m_categoryGroup;
902 const char* m_name; 903 const char* m_name;
903 IDType m_id; 904 IDType m_id;
904 }; 905 };
905 906
906 } // namespace TraceEvent 907 } // namespace TraceEvent
907 908
908 } // namespace WebCore 909 } // namespace WebCore
909 910
910 #endif 911 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698