| 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 13 matching lines...) Expand all Loading... |
| 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 #include "core/inspector/InspectorProfilerAgent.h" | 31 #include "core/inspector/InspectorProfilerAgent.h" |
| 32 | 32 |
| 33 #include "InspectorFrontend.h" | 33 #include "InspectorFrontend.h" |
| 34 #include "PageScriptDebugServer.h" | 34 #include "bindings/v8/PageScriptDebugServer.h" |
| 35 #include "ScriptObject.h" | 35 #include "bindings/v8/ScriptObject.h" |
| 36 #include "ScriptProfiler.h" | 36 #include "bindings/v8/ScriptProfiler.h" |
| 37 #include "WorkerScriptDebugServer.h" | 37 #include "bindings/v8/WorkerScriptDebugServer.h" |
| 38 #include "core/dom/WebCoreMemoryInstrumentation.h" | 38 #include "core/dom/WebCoreMemoryInstrumentation.h" |
| 39 #include "core/inspector/ConsoleAPITypes.h" | 39 #include "core/inspector/ConsoleAPITypes.h" |
| 40 #include "core/inspector/InjectedScript.h" | 40 #include "core/inspector/InjectedScript.h" |
| 41 #include "core/inspector/InjectedScriptHost.h" | 41 #include "core/inspector/InjectedScriptHost.h" |
| 42 #include "core/inspector/InspectorConsoleAgent.h" | 42 #include "core/inspector/InspectorConsoleAgent.h" |
| 43 #include "core/inspector/InspectorState.h" | 43 #include "core/inspector/InspectorState.h" |
| 44 #include "core/inspector/InspectorValues.h" | 44 #include "core/inspector/InspectorValues.h" |
| 45 #include "core/inspector/InstrumentingAgents.h" | 45 #include "core/inspector/InstrumentingAgents.h" |
| 46 #include "core/inspector/ScriptProfile.h" | 46 #include "core/inspector/ScriptProfile.h" |
| 47 #include "core/page/Console.h" | 47 #include "core/page/Console.h" |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 | 360 |
| 361 void InspectorProfilerAgent::didProcessTask() | 361 void InspectorProfilerAgent::didProcessTask() |
| 362 { | 362 { |
| 363 if (!m_profileNameIdleTimeMap || !m_profileNameIdleTimeMap->size()) | 363 if (!m_profileNameIdleTimeMap || !m_profileNameIdleTimeMap->size()) |
| 364 return; | 364 return; |
| 365 m_previousTaskEndTime = WTF::monotonicallyIncreasingTime(); | 365 m_previousTaskEndTime = WTF::monotonicallyIncreasingTime(); |
| 366 } | 366 } |
| 367 | 367 |
| 368 } // namespace WebCore | 368 } // namespace WebCore |
| 369 | 369 |
| OLD | NEW |