How to maintain running time in a program?

I want to know ,how can i know about running time of my program.

For good performance ,I have to use an efficient algorithm,but i want to know ,how can i tell about actual time taken by the program.

Please help

Thanks in advance.

1 Like

I think the following link can help you in finding the execution time !!!
http://riteshkumarnitw.webs.com/apps/blog/entries/show/15390543-calculate-the-execution-time-of-your-program.

Courtsey: Ritesh Kumar Gupta’s blog :slight_smile: Nicely written and informative too.

1 Like
//