Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #75092
| X-Received | by 10.236.129.2 with SMTP id g2mr921306yhi.2.1406130606494; Wed, 23 Jul 2014 08:50:06 -0700 (PDT) |
|---|---|
| X-Received | by 10.50.57.113 with SMTP id h17mr602484igq.0.1406130606357; Wed, 23 Jul 2014 08:50:06 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!enother.net!enother.net!peer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!j15no2146225qaq.0!news-out.google.com!eg1ni2igc.0!nntp.google.com!h18no6170228igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Wed, 23 Jul 2014 08:50:05 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=42.104.15.18; posting-account=HSAEZgoAAAAoqUbsh35jTMVJiWPdOVEu |
| NNTP-Posting-Host | 42.104.15.18 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <253e08b9-e928-424d-a5de-2a596d1c8f5b@googlegroups.com> (permalink) |
| Subject | Execution Time and Memory taken by the program |
| From | Orochi <kartikjagdale11@gmail.com> |
| Injection-Date | Wed, 23 Jul 2014 15:50:06 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| X-Received-Bytes | 1489 |
| X-Received-Body-CRC | 760258871 |
| Xref | csiph.com comp.lang.python:75092 |
Show key headers only | 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 | Next — Next in thread | Find similar | Unroll 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