Adding more detail to MessageQueue::Dispatch logging.
Every message will now be traced with the location from which it was posted, including function name, file and line number. This CL also writes a normal LOG message when the dispatch took more than a certain amount of time (currently 50ms). This logging should help us identify messages that are taking longer than expected to be dispatched. R=pthatcher@webrtc.org, tommi@webrtc.org Review URL: https://codereview.webrtc.org/2019423006 . Cr-Commit-Position: refs/heads/master@{#13104}
This commit is contained in:
@ -33,6 +33,7 @@ BEGIN_SIGNALING_PROXY_MAP(PeerConnectionFactory)
|
||||
PeerConnectionObserver* a5) override {
|
||||
return signaling_thread_
|
||||
->Invoke<rtc::scoped_refptr<PeerConnectionInterface>>(
|
||||
RTC_FROM_HERE,
|
||||
rtc::Bind(&PeerConnectionFactoryProxy::CreatePeerConnection_ot,
|
||||
this, a1, a2, a3.release(), a4.release(), a5));
|
||||
}
|
||||
@ -43,6 +44,7 @@ BEGIN_SIGNALING_PROXY_MAP(PeerConnectionFactory)
|
||||
PeerConnectionObserver* a5) override {
|
||||
return signaling_thread_
|
||||
->Invoke<rtc::scoped_refptr<PeerConnectionInterface>>(
|
||||
RTC_FROM_HERE,
|
||||
rtc::Bind(&PeerConnectionFactoryProxy::CreatePeerConnection_ot,
|
||||
this, a1, a3.release(), a4.release(), a5));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user