Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: How to sleep 1 microsecond?

by lidden (Curate)
on Aug 17, 2012 at 13:15 UTC ( #987966=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @first = gettimeofday;
    my @second = gettimeofday;
    say "[@first] [@second] ", $second[1]-$first[1];
    
  2. or download this
    [1345208919 179070] [1345208919 179072] 2
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-08-28 10:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (335 votes), past polls