Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Time::HiRes gettimeofday producing timestamps out of order

by 1nickt (Abbot)
on May 06, 2016 at 13:30 UTC ( #1162352=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Time::HiRes qw/ gettimeofday /;
    
    ...
    
        $self->write( $data );
    }
    
  2. or download this
    mysql> select id, pid, action, from_unixtime(time) from queue_logger o
    +rder by id;
    +-------+-------+----------+----------------------------+
    ...
    | 83642 | 15218 | sleep    | 2016-05-06 12:38:49.251690 | <- timestamp
    +ed first, but inserted second!
    | 83683 | 15218 | complete | 2016-05-06 12:39:19.707134 |
    +-------+-------+----------+----------------------------+
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1162352]
Front-paged by stevieb
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2020-02-18 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (74 votes). Check out past polls.

    Notices?