0

how would I check how long a program takes for it to be completed.
(i.e the time it takes for the program to be finished doing its calculation)) Thanks

4
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by stonerain
0

take a look at the ctime header. If you need more accurate results then you will have to go into OS specific functions

Chris

0

how would I check how long a program takes for it to be completed.
(i.e the time it takes for the program to be finished doing its calculation)) Thanks

Make 10% of calculations then multiply elapsed time to 9 ;)...

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.