]> git.sesse.net Git - vlc/commit
* Added gprof profiling support with --enable-profiling.
authorSam Hocevar <sam@videolan.org>
Thu, 14 Jun 2001 20:21:04 +0000 (20:21 +0000)
committerSam Hocevar <sam@videolan.org>
Thu, 14 Jun 2001 20:21:04 +0000 (20:21 +0000)
commit44abaa7cd571d62ac75b9754783497e69262d13c
treea93635cd523733b377a1bedef4f47bca5fbb1b53
parentcff6378dbeeac3caedf198868537f85ae80f4bee
  * Added gprof profiling support with --enable-profiling.

    It works at last! configure with --enable-profiling, build, run
 vlc (you may want to add --noaudio, it currently segfaults with sound
 here) and launch "gprof vlc" when finished.

    To make gprof work with multithreaded programs, one needs to set the
 internal ITIMER_PROF timer for each new thread launched. I did this
 through a wrapper in vlc_thread_create (see include/threads.h).
ChangeLog
Makefile.opts.in
configure
configure.in
include/threads.h
src/interface/main.c
src/misc/mtime.c