OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |