Need statistical data of code execution
How can one obtain the statistical data of the time spent by a program in executing its code? Is it an important factor to be considered during programming? Please suggest.








