homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients exarkun, orsenthil
Date 2010年11月13日.01:18:05
SpamBayes Score 4.929504e-10
Marked as misclassified No
Message-id <20101113011756.GA1313@rubuntu>
In-reply-to
Content
On Tue, Nov 09, 2010 at 07:15:57PM +0000, Jean-Paul Calderone wrote:
> >>> cProfile.run("import time; time.sleep(1)")
> 4 function calls in 1.012 CPU seconds
> 
> It is not the case that the profiled code uses >1 CPU seconds. It
> spends the entire time sleeping. The default timer for cProfile is
> a wallclock timer. The output should reflect this.
So, It should just be 1.012 seconds, instead of 1.012 CPU seconds. Correct?
Or is there any other technically more accurate way to say?
History
Date User Action Args
2010年11月13日 01:18:09orsenthilsetrecipients: + orsenthil, exarkun
2010年11月13日 01:18:06orsenthillinkissue10377 messages
2010年11月13日 01:18:05orsenthilcreate

AltStyle によって変換されたページ (->オリジナル) /