| 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 116 |
| 117 bool isResourceTimingBufferFull(); | 117 bool isResourceTimingBufferFull(); |
| 118 void addResourceTimingBuffer(PerformanceEntry&); | 118 void addResourceTimingBuffer(PerformanceEntry&); |
| 119 | 119 |
| 120 bool isFrameTimingBufferFull(); | 120 bool isFrameTimingBufferFull(); |
| 121 void addFrameTimingBuffer(PerformanceEntry&); | 121 void addFrameTimingBuffer(PerformanceEntry&); |
| 122 | 122 |
| 123 void notifyObserversOfEntry(PerformanceEntry&); | 123 void notifyObserversOfEntry(PerformanceEntry&); |
| 124 bool hasObserverFor(PerformanceEntry::EntryType); | 124 bool hasObserverFor(PerformanceEntry::EntryType); |
| 125 | 125 |
| 126 void deliverObservationsTimerFired(Timer<PerformanceBase>*); | 126 void deliverObservationsTimerFired(TimerBase*); |
| 127 | 127 |
| 128 PerformanceEntryVector m_frameTimingBuffer; | 128 PerformanceEntryVector m_frameTimingBuffer; |
| 129 unsigned m_frameTimingBufferSize; | 129 unsigned m_frameTimingBufferSize; |
| 130 PerformanceEntryVector m_resourceTimingBuffer; | 130 PerformanceEntryVector m_resourceTimingBuffer; |
| 131 unsigned m_resourceTimingBufferSize; | 131 unsigned m_resourceTimingBufferSize; |
| 132 double m_timeOrigin; | 132 double m_timeOrigin; |
| 133 | 133 |
| 134 Member<UserTiming> m_userTiming; | 134 Member<UserTiming> m_userTiming; |
| 135 | 135 |
| 136 PerformanceEntryTypeMask m_observerFilterOptions; | 136 PerformanceEntryTypeMask m_observerFilterOptions; |
| 137 PerformanceObservers m_observers; | 137 PerformanceObservers m_observers; |
| 138 PerformanceObservers m_activeObservers; | 138 PerformanceObservers m_activeObservers; |
| 139 PerformanceObservers m_suspendedObservers; | 139 PerformanceObservers m_suspendedObservers; |
| 140 Timer<PerformanceBase> m_deliverObservationsTimer; | 140 Timer<PerformanceBase> m_deliverObservationsTimer; |
| 141 }; | 141 }; |
| 142 | 142 |
| 143 } // namespace blink | 143 } // namespace blink |
| 144 | 144 |
| 145 #endif // PerformanceBase_h | 145 #endif // PerformanceBase_h |
| OLD | NEW |