Execution Time and Memory taken by the program
Orochi
kartikjagdale11 at gmail.com
Wed Jul 23 11:50:05 EDT 2014
I want a timer to calculate the execution time of the program
actually I am trying to solve problems on codechef.com and want to find out the time and memory taken by the program to execute.
I know we can import time.time() in unix and time.clock() in windows
also there is a library timeit().
but it doesn't give the accurate details.
What I want is :
1 . Execution time taken by the program or the CPU time
2 . Users Time
3 . Time taken by Function
4 . Memory required by the program
Thank you
More information about the Python-list
mailing list