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 MrJean1
Recipients MrJean1
Date 2008-03-02.23:45:09
SpamBayes Score 0.003778145
Marked as misclassified No
Message-id <1204501511.28.0.993763550383.issue2218@psf.upfronthosting.co.za>
In-reply-to
Content
The _hotshot module uses the gettimeofday function to profile the run 
time.

I enhanced the hotshot module in Python 2.5.2 to use a high resolution 
timer where available (RDTSC on x86/_64, MFTB/U on PowerPC and gethrtime 
on Solaris).

The improved hotshot module has been tested on 32-bit MacOS X 10.4.11 
Tiger (Intel) and 10.3.9 Panther (PPC), on 64-bit RHEL 3u7 (Opteron) and 
on 64-bit Solaris 10.

The 3 modified files are Modules/_hotshot.c, Lib/hotshot/log.py and 
Lib/hotshot/stats.py are attached.
History
Date User Action Args
2008-03-02 23:45:11MrJean1setspambayes_score: 0.00377814 -> 0.003778145
recipients: + MrJean1
2008-03-02 23:45:11MrJean1setspambayes_score: 0.00377814 -> 0.00377814
messageid: <1204501511.28.0.993763550383.issue2218@psf.upfronthosting.co.za>
2008-03-02 23:45:10MrJean1linkissue2218 messages
2008-03-02 23:45:10MrJean1create