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

Unified Diff: webrtc/base/messagequeue.cc

Issue 1932753002: Add tracing to MessageQueue::Dispatch. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/messagequeue.cc
diff --git a/webrtc/base/messagequeue.cc b/webrtc/base/messagequeue.cc
index c435dd889e87e705633fe174889d79f1bf77819e..1ccee00c71650def29d348b1429175e85b051772 100644
--- a/webrtc/base/messagequeue.cc
+++ b/webrtc/base/messagequeue.cc
@@ -13,6 +13,7 @@
#include "webrtc/base/common.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/messagequeue.h"
+#include "webrtc/base/trace_event.h"
namespace rtc {
@@ -441,6 +442,7 @@ void MessageQueue::Clear(MessageHandler* phandler,
}
void MessageQueue::Dispatch(Message *pmsg) {
+ TRACE_EVENT0("webrtc", "MessageQueue::Dispatch");
pmsg->phandler->OnMessage(pmsg);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698