Hi,
I'd like to speed up some things in my plugin. So I just wondered if there is a way to profile a plugin. I tried to compile with "-pg" and checked the output with gprof, but it seems that gprof does not support libraries, because I only get information about vdr routines. Do you know any other tools, that allow profiling libraries/plugins?
BR,
Christian
On Tue, Apr 04, 2006 at 08:44:52AM +0200, Christian Wieninger wrote:
I'd like to speed up some things in my plugin. So I just wondered if there is a way to profile a plugin. I tried to compile with "-pg" and checked the output with gprof, but it seems that gprof does not support libraries, because I only get information about vdr routines. Do you know any other tools, that allow profiling libraries/plugins?
OProfile http://oprofile.sourceforge.net/ was very useful for identifying some performance bottlenecks in the softdevice plugin. No special compilation is needed, and the performance penalty is negligible (depending on the timer resolution you choose).
Be sure to enable the local APIC, because otherwise OProfile won't be able to utilize the built-in performance counters of the processor.
Marko
Hello,
On Tue, 04 Apr 2006 08:44:52 +0200 Christian Wieninger cwieninger@gmx.de wrote:
| Do you | know any other tools, that allow profiling libraries/plugins?
I recently discovered sysprof, which happens to be a really nice program :
http://www.daimi.au.dk/~sandmann/sysprof/
and a sysprof tutorial here :
http://primates.ximian.com/~federico/news-2005-07.html#26
Thanks,
Philippe