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

Re: negative elapsed time?

by FunkyMonk (Canon)
on Aug 08, 2011 at 15:09 UTC ( #919247=note: print w/ replies, xml ) Need Help??

in reply to negative elapsed time?

Does it make any difference if you change if($t5<=0) to if($t5<0) so you actually check for a negative value?

Ps I don't see any negative values on my (not-a-vm) linux box.

Comment on Re: negative elapsed time?
Select or Download Code
Replies are listed 'Best First'.
Re^2: negative elapsed time?
by saneel (Initiate) on Aug 08, 2011 at 15:14 UTC
    Hi, Most of times on windows, I get either negative or zero values, especially when the count value is high.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2015-11-27 02:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (714 votes), past polls