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 addNavigationTiming(LocalFrame*); | 103 void addNavigationTiming(LocalFrame*, ResourceTimingInfo*); |
104 | 104 |
105 void mark(const String& markName, ExceptionState&); | 105 void mark(const String& markName, ExceptionState&); |
106 void clearMarks(const String& markName); | 106 void clearMarks(const String& markName); |
107 | 107 |
108 void measure(const String& measureName, | 108 void measure(const String& measureName, |
109 const String& startMark, | 109 const String& startMark, |
110 const String& endMark, | 110 const String& endMark, |
111 ExceptionState&); | 111 ExceptionState&); |
112 void clearMeasures(const String& measureName); | 112 void clearMeasures(const String& measureName); |
113 | 113 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 PerformanceEntryTypeMask m_observerFilterOptions; | 145 PerformanceEntryTypeMask m_observerFilterOptions; |
146 PerformanceObservers m_observers; | 146 PerformanceObservers m_observers; |
147 PerformanceObservers m_activeObservers; | 147 PerformanceObservers m_activeObservers; |
148 PerformanceObservers m_suspendedObservers; | 148 PerformanceObservers m_suspendedObservers; |
149 Timer<PerformanceBase> m_deliverObservationsTimer; | 149 Timer<PerformanceBase> m_deliverObservationsTimer; |
150 }; | 150 }; |
151 | 151 |
152 } // namespace blink | 152 } // namespace blink |
153 | 153 |
154 #endif // PerformanceBase_h | 154 #endif // PerformanceBase_h |
OLD | NEW |