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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 | 85 |
86 PerformanceEntryVector getEntries() const; | 86 PerformanceEntryVector getEntries() const; |
87 PerformanceEntryVector getEntriesByType(const String& entryType); | 87 PerformanceEntryVector getEntriesByType(const String& entryType); |
88 PerformanceEntryVector getEntriesByName(const String& name, | 88 PerformanceEntryVector getEntriesByName(const String& name, |
89 const String& entryType); | 89 const String& entryType); |
90 | 90 |
91 void clearResourceTimings(); | 91 void clearResourceTimings(); |
92 void setResourceTimingBufferSize(unsigned); | 92 void setResourceTimingBufferSize(unsigned); |
93 | 93 |
94 DEFINE_ATTRIBUTE_EVENT_LISTENER(resourcetimingbufferfull); | 94 DEFINE_ATTRIBUTE_EVENT_LISTENER(resourcetimingbufferfull); |
95 DEFINE_ATTRIBUTE_EVENT_LISTENER(webkitresourcetimingbufferfull); | |
96 | 95 |
97 void clearFrameTimings(); | 96 void clearFrameTimings(); |
98 void setFrameTimingBufferSize(unsigned); | 97 void setFrameTimingBufferSize(unsigned); |
99 | 98 |
100 DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull); | 99 DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull); |
101 | 100 |
102 void addLongTaskTiming(double startTime, | 101 void addLongTaskTiming(double startTime, |
103 double endTime, | 102 double endTime, |
104 const String& name, | 103 const String& name, |
105 const String& culpritFrameSrc, | 104 const String& culpritFrameSrc, |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 PerformanceEntryTypeMask m_observerFilterOptions; | 167 PerformanceEntryTypeMask m_observerFilterOptions; |
169 PerformanceObservers m_observers; | 168 PerformanceObservers m_observers; |
170 PerformanceObservers m_activeObservers; | 169 PerformanceObservers m_activeObservers; |
171 PerformanceObservers m_suspendedObservers; | 170 PerformanceObservers m_suspendedObservers; |
172 Timer<PerformanceBase> m_deliverObservationsTimer; | 171 Timer<PerformanceBase> m_deliverObservationsTimer; |
173 }; | 172 }; |
174 | 173 |
175 } // namespace blink | 174 } // namespace blink |
176 | 175 |
177 #endif // PerformanceBase_h | 176 #endif // PerformanceBase_h |
OLD | NEW |