I am trying to profile for certain executable using valgrind - callgrind tool.
I have created annotated output using callgrind_annotate --auto=yes
.
The created output tells me about the Ir count , which as per my understanding is the number of times that particular instruction was called, but I want to know which section of the code is taking maximum time in execution.
How can I know about it ?
In my application I want to find the the portion which is taking more time ... there may be cases certain function is called more number of time than other .. but the function which is called less number of time is taking more time than the other