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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
91 PerformanceEntryVector getEntries(); | 91 PerformanceEntryVector getEntries(); |
92 PerformanceEntryVector getEntriesByType(const String& entry_type); | 92 PerformanceEntryVector getEntriesByType(const String& entry_type); |
93 PerformanceEntryVector getEntriesByName(const String& name, | 93 PerformanceEntryVector getEntriesByName(const String& name, |
94 const String& entry_type); | 94 const String& entry_type); |
95 | 95 |
96 void clearResourceTimings(); | 96 void clearResourceTimings(); |
97 void setResourceTimingBufferSize(unsigned); | 97 void setResourceTimingBufferSize(unsigned); |
98 | 98 |
99 DEFINE_ATTRIBUTE_EVENT_LISTENER(resourcetimingbufferfull); | 99 DEFINE_ATTRIBUTE_EVENT_LISTENER(resourcetimingbufferfull); |
100 | 100 |
101 void clearFrameTimings(); | |
102 void setFrameTimingBufferSize(unsigned); | 101 void setFrameTimingBufferSize(unsigned); |
panicker
2017/06/23 16:55:41
this should be removed too
npm
2017/06/23 20:32:18
Done.
| |
103 | 102 |
104 DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull); | 103 DEFINE_ATTRIBUTE_EVENT_LISTENER(frametimingbufferfull); |
panicker
2017/06/23 16:55:41
the event as well
npm
2017/06/23 20:32:17
Done.
| |
105 | 104 |
106 void AddLongTaskTiming(double start_time, | 105 void AddLongTaskTiming(double start_time, |
107 double end_time, | 106 double end_time, |
108 const String& name, | 107 const String& name, |
109 const String& culprit_frame_src, | 108 const String& culprit_frame_src, |
110 const String& culprit_frame_id, | 109 const String& culprit_frame_id, |
111 const String& culprit_frame_name); | 110 const String& culprit_frame_name); |
112 | 111 |
113 void AddResourceTiming(const ResourceTimingInfo&); | 112 void AddResourceTiming(const ResourceTimingInfo&); |
114 | 113 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
190 PerformanceEntryTypeMask observer_filter_options_; | 189 PerformanceEntryTypeMask observer_filter_options_; |
191 PerformanceObservers observers_; | 190 PerformanceObservers observers_; |
192 PerformanceObservers active_observers_; | 191 PerformanceObservers active_observers_; |
193 PerformanceObservers suspended_observers_; | 192 PerformanceObservers suspended_observers_; |
194 TaskRunnerTimer<PerformanceBase> deliver_observations_timer_; | 193 TaskRunnerTimer<PerformanceBase> deliver_observations_timer_; |
195 }; | 194 }; |
196 | 195 |
197 } // namespace blink | 196 } // namespace blink |
198 | 197 |
199 #endif // PerformanceBase_h | 198 #endif // PerformanceBase_h |
OLD | NEW |