Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(288)

Unified Diff: third_party/WebKit/Source/core/dom/DocumentTiming.cpp

Issue 2227293002: Add RAIL tracing category to Chrome tracing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing PaintTiming markers Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/DocumentTiming.cpp
diff --git a/third_party/WebKit/Source/core/dom/DocumentTiming.cpp b/third_party/WebKit/Source/core/dom/DocumentTiming.cpp
index ae2448d0918c3f87c90cc521dc4f90b147453796..2b9a157131974d8eb1ff1657e609cd54dff2165f 100644
--- a/third_party/WebKit/Source/core/dom/DocumentTiming.cpp
+++ b/third_party/WebKit/Source/core/dom/DocumentTiming.cpp
@@ -34,42 +34,42 @@ void DocumentTiming::notifyDocumentTimingChanged()
void DocumentTiming::markDomLoading()
{
m_domLoading = monotonicallyIncreasingTime();
- TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing", "domLoading", m_domLoading, "frame", frame());
+ TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing,rail", "domLoading", m_domLoading, "frame", frame());
notifyDocumentTimingChanged();
}
void DocumentTiming::markDomInteractive()
{
m_domInteractive = monotonicallyIncreasingTime();
- TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing", "domInteractive", m_domInteractive, "frame", frame());
+ TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing,rail", "domInteractive", m_domInteractive, "frame", frame());
notifyDocumentTimingChanged();
}
void DocumentTiming::markDomContentLoadedEventStart()
{
m_domContentLoadedEventStart = monotonicallyIncreasingTime();
- TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing", "domContentLoadedEventStart", m_domContentLoadedEventStart, "frame", frame());
+ TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing,rail", "domContentLoadedEventStart", m_domContentLoadedEventStart, "frame", frame());
notifyDocumentTimingChanged();
}
void DocumentTiming::markDomContentLoadedEventEnd()
{
m_domContentLoadedEventEnd = monotonicallyIncreasingTime();
- TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing", "domContentLoadedEventEnd", m_domContentLoadedEventEnd, "frame", frame());
+ TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing,rail", "domContentLoadedEventEnd", m_domContentLoadedEventEnd, "frame", frame());
notifyDocumentTimingChanged();
}
void DocumentTiming::markDomComplete()
{
m_domComplete = monotonicallyIncreasingTime();
- TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing", "domComplete", m_domComplete, "frame", frame());
+ TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing,rail", "domComplete", m_domComplete, "frame", frame());
notifyDocumentTimingChanged();
}
void DocumentTiming::markFirstLayout()
{
m_firstLayout = monotonicallyIncreasingTime();
- TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing", "firstLayout", m_firstLayout, "frame", frame());
+ TRACE_EVENT_MARK_WITH_TIMESTAMP1("blink.user_timing,rail", "firstLayout", m_firstLayout, "frame", frame());
notifyDocumentTimingChanged();
}
« no previous file with comments | « third_party/WebKit/Source/core/animation/Animation.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698