What is the command line format to display function call graph for a method in templated class with gprof?
For simple C method you would specify it like:
gprof -f foo myprogram > gprof.output
How do you specify method parse
from the following:
template <typename T> class A
{
public:
template <typename X> bool parse(X& x, char*buf)
{ ... lots of code here ...;
}
};