Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Experiment Design

by amphiplex (Monk)
on Jul 13, 2002 at 17:23 UTC ( [id://181500]=note: print w/replies, xml ) Need Help??


in reply to Experiment Design

You could use Time::HiRes for accurate time measuring:
use Time::HiRes qw(gettimeofday); print "Press return: "; my $before = gettimeofday; <>; my $elapsed = gettimeofday - $before; print "you took $elapsed seconds\n";
(code taken from the Perl-Cookbook)

---- kurt

Log In?
Username:
Password:

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

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

    No recent polls found