OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * Copyright (C) 2012 Intel Inc. All rights reserved. | 3 * Copyright (C) 2012 Intel Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 void clearFrameTimings(); | 94 void clearFrameTimings(); |
95 void setFrameTimingBufferSize(unsigned); | 95 void setFrameTimingBufferSize(unsigned); |
96 | 96 |
97 DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull); | 97 DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull); |
98 | 98 |
99 void addLongTaskTiming(double, double, const String&, DOMWindow*); | 99 void addLongTaskTiming(double, double, const String&, DOMWindow*); |
100 | 100 |
101 void addResourceTiming(const ResourceTimingInfo&); | 101 void addResourceTiming(const ResourceTimingInfo&); |
102 | 102 |
103 void addRenderTiming(Document*, unsigned, double, double); | |
104 | |
105 void addCompositeTiming(Document*, unsigned, double); | |
106 | |
107 void mark(const String& markName, ExceptionState&); | 103 void mark(const String& markName, ExceptionState&); |
108 void clearMarks(const String& markName); | 104 void clearMarks(const String& markName); |
109 | 105 |
110 void measure(const String& measureName, | 106 void measure(const String& measureName, |
111 const String& startMark, | 107 const String& startMark, |
112 const String& endMark, | 108 const String& endMark, |
113 ExceptionState&); | 109 ExceptionState&); |
114 void clearMeasures(const String& measureName); | 110 void clearMeasures(const String& measureName); |
115 | 111 |
116 void unregisterPerformanceObserver(PerformanceObserver&); | 112 void unregisterPerformanceObserver(PerformanceObserver&); |
(...skipping 29 matching lines...) Expand all Loading... |
146 PerformanceEntryTypeMask m_observerFilterOptions; | 142 PerformanceEntryTypeMask m_observerFilterOptions; |
147 PerformanceObservers m_observers; | 143 PerformanceObservers m_observers; |
148 PerformanceObservers m_activeObservers; | 144 PerformanceObservers m_activeObservers; |
149 PerformanceObservers m_suspendedObservers; | 145 PerformanceObservers m_suspendedObservers; |
150 Timer<PerformanceBase> m_deliverObservationsTimer; | 146 Timer<PerformanceBase> m_deliverObservationsTimer; |
151 }; | 147 }; |
152 | 148 |
153 } // namespace blink | 149 } // namespace blink |
154 | 150 |
155 #endif // PerformanceBase_h | 151 #endif // PerformanceBase_h |
OLD | NEW |