| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010 Google Inc. All rights reserved. | 3 * Copyright (C) 2010 Google 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. 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 11 matching lines...) Expand all Loading... |
| 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 28 */ | 28 */ |
| 29 | 29 |
| 30 #include "config.h" | 30 #include "config.h" |
| 31 | 31 |
| 32 #if ENABLE(JAVASCRIPT_DEBUGGER) && ENABLE(INSPECTOR) | |
| 33 | 32 |
| 34 #include "InspectorProfilerAgent.h" | 33 #include "InspectorProfilerAgent.h" |
| 35 | 34 |
| 36 #include "Console.h" | 35 #include "Console.h" |
| 37 #include "ConsoleAPITypes.h" | 36 #include "ConsoleAPITypes.h" |
| 38 #include "ConsoleTypes.h" | 37 #include "ConsoleTypes.h" |
| 39 #include "InjectedScript.h" | 38 #include "InjectedScript.h" |
| 40 #include "InjectedScriptHost.h" | 39 #include "InjectedScriptHost.h" |
| 41 #include "InspectorConsoleAgent.h" | 40 #include "InspectorConsoleAgent.h" |
| 42 #include "InspectorFrontend.h" | 41 #include "InspectorFrontend.h" |
| (...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 | 514 |
| 516 void InspectorProfilerAgent::didProcessTask() | 515 void InspectorProfilerAgent::didProcessTask() |
| 517 { | 516 { |
| 518 if (!m_profileNameIdleTimeMap || !m_profileNameIdleTimeMap->size()) | 517 if (!m_profileNameIdleTimeMap || !m_profileNameIdleTimeMap->size()) |
| 519 return; | 518 return; |
| 520 m_previousTaskEndTime = WTF::monotonicallyIncreasingTime(); | 519 m_previousTaskEndTime = WTF::monotonicallyIncreasingTime(); |
| 521 } | 520 } |
| 522 | 521 |
| 523 } // namespace WebCore | 522 } // namespace WebCore |
| 524 | 523 |
| 525 #endif // ENABLE(JAVASCRIPT_DEBUGGER) && ENABLE(INSPECTOR) | |
| OLD | NEW |