Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Get Exact Time w/out Modules

by Paul Smith (Initiate)
on Nov 17, 2003 at 21:54 UTC ( [id://307840]=note: print w/replies, xml ) Need Help??


in reply to Get Exact Time w/out Modules

Well, if you're wanting to find out how long it takes for, say, performance profiling, you could try doing the 'something' lots of times - eg do it 1000 times, call time() before and after, and the difference in seconds for doing it 1000 times is going to be roughly the same as doing it once in milliseconds

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found