Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Benchmark and wallclock times

by mulander (Monk)
on Sep 20, 2005 at 05:41 UTC ( [id://493368]=note: print w/replies, xml ) Need Help??


in reply to Benchmark and wallclock times

Imho the Benchmark subrutines all give back time in wallocsecs, if cmpthese(); works diffrently you can always wrap it inside timethese(); or another sub that returns time in wallocsec.

This is what perldoc Benchmark tells you about a possible modification of wallocsecs:
:hireswallclock If the Time::HiRes module has been installed, you can specify the special tag ":hireswallclock" for Benchmark (if Time::HiRes is not available, the tag will be silently ignored). This tag will cause t +he wallclock time to be measured in microseconds, instead of integer seconds. Note though that the speed computations are still conducte +d in CPU time, not wallclock time.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://493368]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-23 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found