Commit db34cf41 authored by hclam@chromium.org's avatar hclam@chromium.org

Add a trace for WebRTC initialization time

Track libpeerconnection loading time.

NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/23619017

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221332 0039d316-1c4b-4281-b951-d872f2087c98
parent 00a58902
...@@ -71,6 +71,8 @@ static base::FilePath GetLibPeerConnectionPath() { ...@@ -71,6 +71,8 @@ static base::FilePath GetLibPeerConnectionPath() {
} }
bool InitializeWebRtcModule() { bool InitializeWebRtcModule() {
TRACE_EVENT0("webrtc", "InitializeWebRtcModule");
if (g_create_webrtc_media_engine) if (g_create_webrtc_media_engine)
return true; // InitializeWebRtcModule has already been called. return true; // InitializeWebRtcModule has already been called.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment