Home | History | Annotate | Download | only in inspector

Lines Matching refs:InspectorTimelineAgent

32 #include "core/inspector/InspectorTimelineAgent.h"
147 typedef void (InspectorTimelineAgent::*TraceEventHandlerMethod)(const TraceEventDispatcher::TraceEvent&);
148 static PassOwnPtrWillBeRawPtr<InspectorTimelineAgentTraceEventListener> create(InspectorTimelineAgent* instance, TraceEventHandlerMethod method)
167 InspectorTimelineAgentTraceEventListener(InspectorTimelineAgent* instance, TraceEventHandlerMethod method)
172 RawPtrWillBeMember<InspectorTimelineAgent> m_instance;
214 explicit TimelineRecordStack(InspectorTimelineAgent*);
229 RawPtrWillBeMember<InspectorTimelineAgent> m_timelineAgent;
238 TimelineThreadState(InspectorTimelineAgent* timelineAgent)
284 void InspectorTimelineAgent::didGC(double startTime, double endTime, size_t collectedBytesCount)
299 InspectorTimelineAgent::~InspectorTimelineAgent()
303 void InspectorTimelineAgent::trace(Visitor* visitor)
313 void InspectorTimelineAgent::setFrontend(InspectorFrontend* frontend)
318 void InspectorTimelineAgent::clearFrontend()
326 void InspectorTimelineAgent::restore()
343 void InspectorTimelineAgent::enable(ErrorString*)
348 void InspectorTimelineAgent::disable(ErrorString*)
353 void InspectorTimelineAgent::start(ErrorString* errorString, const int* maxCallStackDepth, const bool* bufferEvents, const String* liveEvents, const bool* includeCounters, const bool* includeGPUEvents)
388 bool InspectorTimelineAgent::isStarted()
393 void InspectorTimelineAgent::innerStart()
402 dispatcher->addListener(InstrumentationEvents::BeginFrame, TRACE_EVENT_PHASE_INSTANT, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onBeginImplSideFrame), m_client);
403 dispatcher->addListener(InstrumentationEvents::PaintSetup, TRACE_EVENT_PHASE_BEGIN, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onPaintSetupBegin), m_client);
404 dispatcher->addListener(InstrumentationEvents::PaintSetup, TRACE_EVENT_PHASE_END, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onPaintSetupEnd), m_client);
405 dispatcher->addListener(InstrumentationEvents::RasterTask, TRACE_EVENT_PHASE_BEGIN, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onRasterTaskBegin), m_client);
406 dispatcher->addListener(InstrumentationEvents::RasterTask, TRACE_EVENT_PHASE_END, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onRasterTaskEnd), m_client);
407 dispatcher->addListener(InstrumentationEvents::Layer, TRACE_EVENT_PHASE_DELETE_OBJECT, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onLayerDeleted), m_client);
408 dispatcher->addListener(InstrumentationEvents::RequestMainThreadFrame, TRACE_EVENT_PHASE_INSTANT, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onRequestMainThreadFrame), m_client);
409 dispatcher->addListener(InstrumentationEvents::ActivateLayerTree, TRACE_EVENT_PHASE_INSTANT, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onActivateLayerTree), m_client);
410 dispatcher->addListener(InstrumentationEvents::DrawFrame, TRACE_EVENT_PHASE_INSTANT, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onDrawFrame), m_client);
411 dispatcher->addListener(PlatformInstrumentation::ImageDecodeEvent, TRACE_EVENT_PHASE_BEGIN, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onImageDecodeBegin), m_client);
412 dispatcher->addListener(PlatformInstrumentation::ImageDecodeEvent, TRACE_EVENT_PHASE_END, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onImageDecodeEnd), m_client);
413 dispatcher->addListener(PlatformInstrumentation::DrawLazyPixelRefEvent, TRACE_EVENT_PHASE_INSTANT, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onDrawLazyPixelRef), m_client);
414 InspectorTimelineAgent::onDecodeLazyPixelRefBegin), m_client);
415 dispatcher->addListener(PlatformInstrumentation::DecodeLazyPixelRefEvent, TRACE_EVENT_PHASE_END, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onDecodeLazyPixelRefEnd), m_client);
416 dispatcher->addListener(PlatformInstrumentation::LazyPixelRef, TRACE_EVENT_PHASE_DELETE_OBJECT, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onLazyPixelRefDeleted), m_client);
417 dispatcher->addListener(InstrumentationEvents::EmbedderCallback, TRACE_EVENT_PHASE_BEGIN, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onEmbedderCallbackBegin), m_client);
418 dispatcher->addListener(InstrumentationEvents::EmbedderCallback, TRACE_EVENT_PHASE_END, InspectorTimelineAgentTraceEventListener::create(this, &InspectorTimelineAgent::onEmbedderCallbackEnd), m_client);
427 void InspectorTimelineAgent::stop(ErrorString* errorString)
441 void InspectorTimelineAgent::innerStop(bool fromConsole)
473 void InspectorTimelineAgent::didBeginFrame(int frameId)
479 void InspectorTimelineAgent::didCancelFrame()
484 bool InspectorTimelineAgent::willCallFunction(ExecutionContext* context, int scriptId, const String& scriptName, int scriptLine)
490 void InspectorTimelineAgent::didCallFunction()
495 bool InspectorTimelineAgent::willDispatchEvent(Document* document, const Event& event, LocalDOMWindow* window, Node* node, const EventPath& eventPath)
504 bool InspectorTimelineAgent::willDispatchEventOnWindow(const Event& event, LocalDOMWindow* window)
512 void InspectorTimelineAgent::didDispatchEvent()
517 void InspectorTimelineAgent::didDispatchEventOnWindow()
522 void InspectorTimelineAgent::didInvalidateLayout(LocalFrame* frame)
527 bool InspectorTimelineAgent::willLayout(LocalFrame* frame)
538 void InspectorTimelineAgent::didLayout(RenderObject* root)
553 void InspectorTimelineAgent::layerTreeDidChange()
559 void InspectorTimelineAgent::willUpdateLayerTree()
564 void InspectorTimelineAgent::didUpdateLayerTree()
575 void InspectorTimelineAgent::didScheduleStyleRecalculation(Document* document)
580 bool InspectorTimelineAgent::willRecalculateStyle(Document* document)
586 void InspectorTimelineAgent::didRecalculateStyle(int elementCount)
596 void InspectorTimelineAgent::willPaint(RenderObject* renderer, const GraphicsLayer* graphicsLayer)
617 void InspectorTimelineAgent::didPaint(RenderObject* renderer, const GraphicsLayer* graphicsLayer, GraphicsContext*, const LayoutRect& clipRect)
632 void InspectorTimelineAgent::willPaintImage(RenderImage* renderImage)
638 void InspectorTimelineAgent::didPaintImage()
643 void InspectorTimelineAgent::willScrollLayer(RenderObject* renderer)
648 void InspectorTimelineAgent::didScrollLayer()
653 void InspectorTimelineAgent::willDecodeImage(const String& imageType)
661 void InspectorTimelineAgent::didDecodeImage()
666 void InspectorTimelineAgent::willResizeImage(bool shouldCache)
674 void InspectorTimelineAgent::didResizeImage()
679 void InspectorTimelineAgent::willComposite()
684 void InspectorTimelineAgent::didComposite()
693 bool InspectorTimelineAgent::willWriteHTML(Document* document, unsigned startLine)
699 void InspectorTimelineAgent::didWriteHTML(unsigned endLine)
708 void InspectorTimelineAgent::didInstallTimer(ExecutionContext* context, int timerId, int timeout, bool singleShot)
713 void InspectorTimelineAgent::didRemoveTimer(ExecutionContext* context, int timerId)
718 bool InspectorTimelineAgent::willFireTimer(ExecutionContext* context, int timerId)
724 void InspectorTimelineAgent::didFireTimer()
729 bool InspectorTimelineAgent::willDispatchXHRReadyStateChangeEvent(ExecutionContext* context, XMLHttpRequest* request)
737 void InspectorTimelineAgent::didDispatchXHRReadyStateChangeEvent()
742 bool InspectorTimelineAgent::willDispatchXHRLoadEvent(ExecutionContext* context, XMLHttpRequest* request)
750 void InspectorTimelineAgent::didDispatchXHRLoadEvent()
755 bool InspectorTimelineAgent::willEvaluateScript(LocalFrame* frame, const String& url, int lineNumber)
761 void InspectorTimelineAgent::didEvaluateScript()
766 void InspectorTimelineAgent::willSendRequest(unsigned long identifier, DocumentLoader* loader, const ResourceRequest& request, const ResourceResponse&, const FetchInitiatorInfo&)
772 void InspectorTimelineAgent::didReceiveData(LocalFrame* frame, unsigned long identifier, const char*, int, int encodedDataLength)
778 void InspectorTimelineAgent::didReceiveResourceResponse(LocalFrame* frame, unsigned long identifier, DocumentLoader* loader, const ResourceResponse& response, ResourceLoader* resourceLoader)
784 void InspectorTimelineAgent::didFinishLoadingResource(unsigned long identifier, bool didFail, double finishTime)
789 void InspectorTimelineAgent::didFinishLoading(unsigned long identifier, DocumentLoader* loader, double monotonicFinishTime, int64_t)
794 void InspectorTimelineAgent::didFailLoading(unsigned long identifier, const ResourceError& error)
799 void InspectorTimelineAgent::consoleTimeStamp(ExecutionContext* context, const String& title)
804 void InspectorTimelineAgent::consoleTime(ExecutionContext* context, const String& message)
810 void InspectorTimelineAgent::consoleTimeEnd(ExecutionContext* context, const String& message, ScriptState*)
821 void InspectorTimelineAgent::consoleTimeline(ExecutionContext* context, const String& title, ScriptState* scriptState)
843 void InspectorTimelineAgent::consoleTimelineEnd(ExecutionContext* context, const String& title, ScriptState* scriptState)
869 void InspectorTimelineAgent::domContentLoadedEventFired(LocalFrame* frame)
877 void InspectorTimelineAgent::loadEventFired(LocalFrame* frame)
883 void InspectorTimelineAgent::didCommitLoad()
888 void InspectorTimelineAgent::didRequestAnimationFrame(Document* document, int callbackId)
893 void InspectorTimelineAgent::didCancelAnimationFrame(Document* document, int callbackId)
898 bool InspectorTimelineAgent::willFireAnimationFrame(Document* document, int callbackId)
904 void InspectorTimelineAgent::didFireAnimationFrame()
909 void InspectorTimelineAgent::willProcessTask()
914 void InspectorTimelineAgent::didProcessTask()
919 void InspectorTimelineAgent::didCreateWebSocket(Document* document, unsigned long identifier, const KURL& url, const String& protocol)
924 void InspectorTimelineAgent::willSendWebSocketHandshakeRequest(Document* document, unsigned long identifier, const WebSocketHandshakeRequest*)
929 void InspectorTimelineAgent::didReceiveWebSocketHandshakeResponse(Document* document, unsigned long identifier, const WebSocketHandshakeRequest*, const WebSocketHandshakeResponse*)
934 void InspectorTimelineAgent::didCloseWebSocket(Document* document, unsigned long identifier)
939 void InspectorTimelineAgent::onBeginImplSideFrame(const TraceEventDispatcher::TraceEvent& event)
948 void InspectorTimelineAgent::onPaintSetupBegin(const TraceEventDispatcher::TraceEvent& event)
954 void InspectorTimelineAgent::onPaintSetupEnd(const TraceEventDispatcher::TraceEvent& event)
960 void InspectorTimelineAgent::onRasterTaskBegin(const TraceEventDispatcher::TraceEvent& event)
975 void InspectorTimelineAgent::onRasterTaskEnd(const TraceEventDispatcher::TraceEvent& event)
985 void InspectorTimelineAgent::onImageDecodeBegin(const TraceEventDispatcher::TraceEvent& event)
1004 void InspectorTimelineAgent::onImageDecodeEnd(const TraceEventDispatcher::TraceEvent& event)
1013 void InspectorTimelineAgent::onRequestMainThreadFrame(const TraceEventDispatcher::TraceEvent& event)
1022 void InspectorTimelineAgent::onActivateLayerTree(const TraceEventDispatcher::TraceEvent& event)
1032 void InspectorTimelineAgent::onDrawFrame(const TraceEventDispatcher::TraceEvent& event)
1041 void InspectorTimelineAgent::onLayerDeleted(const TraceEventDispatcher::TraceEvent& event)
1048 void InspectorTimelineAgent::onDecodeLazyPixelRefBegin(const TraceEventDispatcher::TraceEvent& event)
1058 void InspectorTimelineAgent::onDecodeLazyPixelRefEnd(const TraceEventDispatcher::TraceEvent& event)
1063 void InspectorTimelineAgent::onDrawLazyPixelRef(const TraceEventDispatcher::TraceEvent& event)
1075 void InspectorTimelineAgent::onLazyPixelRefDeleted(const TraceEventDispatcher::TraceEvent& event)
1080 void InspectorTimelineAgent::processGPUEvent(const GPUEvent& event)
1097 void InspectorTimelineAgent::onEmbedderCallbackBegin(const TraceEventDispatcher::TraceEvent& event)
1106 void InspectorTimelineAgent::onEmbedderCallbackEnd(const TraceEventDispatcher::TraceEvent& event)
1112 void InspectorTimelineAgent::addRecordToTimeline(PassRefPtr<TimelineEvent> record, double ts)
1122 void InspectorTimelineAgent::innerAddRecordToTimeline(PassRefPtr<TimelineEvent> record)
1142 PassRefPtr<TypeBuilder::Timeline::TimelineEvent> InspectorTimelineAgent::createCountersUpdate()
1154 void InspectorTimelineAgent::setFrameIdentifier(TimelineEvent* record, LocalFrame* frame)
1164 void InspectorTimelineAgent::populateImageDetails(JSONObject* data, const RenderImage& renderImage)
1170 void InspectorTimelineAgent::didCompleteCurrentRecord(const String& type)
1197 void InspectorTimelineAgent::unwindRecordStack()
1205 InspectorTimelineAgent::InspectorTimelineAgent(InspectorPageAgent* pageAgent, InspectorLayerTreeAgent* layerTreeAgent,
1207 : InspectorBaseAgent<InspectorTimelineAgent>("Timeline")
1225 void InspectorTimelineAgent::appendRecord(PassRefPtr<JSONObject> data, const String& type, bool captureCallStack, LocalFrame* frame)
1233 void InspectorTimelineAgent::sendEvent(PassRefPtr<TimelineEvent> record)
1244 void InspectorTimelineAgent::pushCurrentRecord(PassRefPtr<JSONObject> data, const String& type, bool captureCallStack, LocalFrame* frame, bool hasLowLevelDetails)
1256 TimelineThreadState& InspectorTimelineAgent::threadState(ThreadIdentifier thread)
1264 void InspectorTimelineAgent::commitFrameRecord()
1271 void InspectorTimelineAgent::clearRecordStack()
1282 void InspectorTimelineAgent::localToPageQuad(const RenderObject& renderer, const LayoutRect& rect, FloatQuad* quad)
1293 long long InspectorTimelineAgent::nodeId(Node* node)
1298 long long InspectorTimelineAgent::nodeId(RenderObject* renderer)
1303 double InspectorTimelineAgent::timestamp()
1308 LocalFrame* InspectorTimelineAgent::mainFrame() const
1315 PassRefPtr<TimelineEvent> InspectorTimelineAgent::createRecordForEvent(const TraceEventDispatcher::TraceEvent& event, const String& type, PassRefPtr<JSONObject> data)
1321 void InspectorTimelineAgent::setLiveEvents(const String& liveEvents)
1332 TimelineRecordStack::TimelineRecordStack(InspectorTimelineAgent* timelineAgent)