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 24 matching lines...) Expand all Loading... |
35 #include "InjectedScriptHost.h" | 35 #include "InjectedScriptHost.h" |
36 #include "InspectorConsoleAgent.h" | 36 #include "InspectorConsoleAgent.h" |
37 #include "InspectorFrontend.h" | 37 #include "InspectorFrontend.h" |
38 #include "InspectorState.h" | 38 #include "InspectorState.h" |
39 #include "InspectorValues.h" | 39 #include "InspectorValues.h" |
40 #include "InstrumentingAgents.h" | 40 #include "InstrumentingAgents.h" |
41 #include "PageScriptDebugServer.h" | 41 #include "PageScriptDebugServer.h" |
42 #include "ScriptObject.h" | 42 #include "ScriptObject.h" |
43 #include "ScriptProfile.h" | 43 #include "ScriptProfile.h" |
44 #include "ScriptProfiler.h" | 44 #include "ScriptProfiler.h" |
45 #include "WebCoreMemoryInstrumentation.h" | |
46 #include "WorkerScriptDebugServer.h" | 45 #include "WorkerScriptDebugServer.h" |
| 46 #include "core/dom/WebCoreMemoryInstrumentation.h" |
47 #include "core/page/Console.h" | 47 #include "core/page/Console.h" |
48 #include "core/page/ConsoleTypes.h" | 48 #include "core/page/ConsoleTypes.h" |
49 #include "core/page/Page.h" | 49 #include "core/page/Page.h" |
50 #include "core/platform/KURL.h" | 50 #include "core/platform/KURL.h" |
51 #include <wtf/CurrentTime.h> | 51 #include <wtf/CurrentTime.h> |
52 #include <wtf/MemoryInstrumentationHashMap.h> | 52 #include <wtf/MemoryInstrumentationHashMap.h> |
53 #include <wtf/OwnPtr.h> | 53 #include <wtf/OwnPtr.h> |
54 #include <wtf/text/StringConcatenate.h> | 54 #include <wtf/text/StringConcatenate.h> |
55 | 55 |
56 namespace WebCore { | 56 namespace WebCore { |
(...skipping 303 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 |