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 -- https://mail.python.org/mailman/listinfo/python-list