Add tracing to MessageQueue::Dispatch.
Accounts for additional blocking yet unaccounted for that's not visible through invoke. BUG= R=tommi@webrtc.org Review-Url: https://codereview.webrtc.org/1932753002 Cr-Commit-Position: refs/heads/master@{#12565}
This commit is contained in:
parent
a4ac4786a8
commit
79e2842381
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user