How to profile WebRTC performance? Get the function run time and generate call graph

Dear all,

How to get functions run time and generate call graph from WebRTC Native C++ example peerconnection?

I use tceetree to get the static call graph from WebRTC project.

filename:webrtc_src_with_filename.svg

I try callgrind part of Valgrind to get the dynamic call graph.

When running peerconnection_client get Fatal error.

the peerconnection example drop and not show webcam screen.

command: $ valgrind –tool=callgrind ./peerconnection_client

error:

# Fatal error in: ../../system_wrappers/source/denormal_disabler.cc, line 82
# last system error: 1
# Check failed: !DenormalsEnabled(ReadStatusWord())

Could someone help me please?

Best regard and thanks.

Read more here: Source link