i have a C program, which works fine but i have some problems with the long times it takes to execute, so i want to find the execution times for each statement/functions take.
Im hoping to find some utility like gdb, so that i can "step" through the code execution ( like debugging ) and see how much time each statement/function takes to execute.
im trying to use the "maint time" option in gdb, but still couldnt get it to work.
any help/advice will be greatly a appreciated.
Thankx in advance.