[FFmpeg-devel] Profiling the library

Luca Barbato lu_zero
Thu May 10 13:06:15 CEST 2007


Thorsten Jordan wrote:
> Hello,
> 
> here at my company we are using ffmpeg/h264 for decoding some HDTV
> streams. Some HD broadcasts have changed their encoder since tuesday,
> leading to higher CPU usage.
> I want to measure where CPU time is spent and thus profile the library.

Use valgrind to get a nice callgraph (that could also be visualized in a
quite good way by kcachegrind)
use oprofile to get performance data for the code (I'd suggest you to
check cache miss)

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero





More information about the ffmpeg-devel mailing list