profile system API performance
Nick Clifton
nickc@redhat.com
Wed Feb 14 09:52:00 GMT 2007
Hi Lin,
> I find that when I profile the performance of my application, gprof only reports the time elapsed on the functions I developed by myself, but the system API (like memset, malloc, etc) is not calculated.
You need a version of the C library (glibc) compiled with profiling enabled.
> I am wondering how to enable it. I am using Linux.
If a profile-enabled glibc is not provided by the version of Linux that
you are using then you will have to download the sources and build it
yourself.
Cheers
Nick
More information about the Binutils
mailing list