OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Intel Inc. All rights reserved. | 2 * Copyright (C) 2012 Intel Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 PerformanceEntryVector UserTiming::getMeasures() const | 201 PerformanceEntryVector UserTiming::getMeasures() const |
202 { | 202 { |
203 return convertToEntrySequence(m_measuresMap); | 203 return convertToEntrySequence(m_measuresMap); |
204 } | 204 } |
205 | 205 |
206 PerformanceEntryVector UserTiming::getMeasures(const String& name) const | 206 PerformanceEntryVector UserTiming::getMeasures(const String& name) const |
207 { | 207 { |
208 return getEntrySequenceByName(m_measuresMap, name); | 208 return getEntrySequenceByName(m_measuresMap, name); |
209 } | 209 } |
210 | 210 |
211 void UserTiming::trace(Visitor* visitor) | 211 DEFINE_TRACE(UserTiming) |
212 { | 212 { |
213 #if ENABLE(OILPAN) | 213 #if ENABLE(OILPAN) |
214 visitor->trace(m_performance); | 214 visitor->trace(m_performance); |
215 visitor->trace(m_marksMap); | 215 visitor->trace(m_marksMap); |
216 visitor->trace(m_measuresMap); | 216 visitor->trace(m_measuresMap); |
217 #endif | 217 #endif |
218 } | 218 } |
219 | 219 |
220 } // namespace blink | 220 } // namespace blink |
OLD | NEW |