Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Anything better than 'times' ?

by gone2015 (Deacon)
on Sep 17, 2008 at 18:18 UTC ( [id://712087]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      use Time::HiRes qw(clock_gettime CLOCK_PROCESS_CPUTIME_ID) ;
      $start = clock_gettime(CLOCK_PROCESS_CPUTIME_ID) ; # replaces $start
    + = (times)[0]
      ...
      $end   = clock_gettime(CLOCK_PROCESS_CPUTIME_ID) ; # replaces $end  
    + = (times)[0]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-19 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found