I now have a project which I want do profiling on, but it used another library which I have no control of. Say if there if such a function:
#include <library.h>
void function(...)
{
// do something
for (...)
{
// ...
library_function(...);
// ...
}
// do something
}
Let's assume that library_function is from another static library which is not compiled with profiling enabled. Now if gprof tells me running function
took 10s including all its children, will this include the time spent in library_function
?