Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #75092

Execution Time and Memory taken by the program

Newsgroups comp.lang.python
Date 2014-07-23 08:50 -0700
Message-ID <253e08b9-e928-424d-a5de-2a596d1c8f5b@googlegroups.com> (permalink)
Subject Execution Time and Memory taken by the program
From Orochi <kartikjagdale11@gmail.com>

Show all headers | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Execution Time and Memory taken by the program Orochi <kartikjagdale11@gmail.com> - 2014-07-23 08:50 -0700
  Re: Execution Time and Memory taken by the program Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2014-07-23 19:40 +0200

csiph-web