gprof: Specific function time
I want to find out how long a particular function in my program takes. For this, I am using gprof. I used the following command to get the time for a particular feature, but the log file still shows the results of all features in the program. Please help me in this regard.
gprof -F FunctionName Executable gmon.out>log