Re: dupe times in Time::HiRes
From: pat (pat.trainor_at_gmail.com)
Date: 03/21/05
- Next message: Brian McCauley: "Re: HTML parsing"
- Previous message: jonathan: "Re: XML::LibXSLT, can't loadLibXSLT.dll"
- In reply to: chris-usenet_at_roaima.co.uk: "Re: dupe times in Time::HiRes"
- Next in thread: chris-usenet_at_roaima.co.uk: "Re: dupe times in Time::HiRes"
- Reply: chris-usenet_at_roaima.co.uk: "Re: dupe times in Time::HiRes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 21 Mar 2005 07:23:15 -0800
Chris,
Thanks for the input. Sequential counters are fine, and as the entries
are being stored in a database with an auto_increment column that part
is fine. Unfortunately the solution suggested won't work when entries
in one table/db are compared to another.
Arbitrary is valid if there is only one source of entries, and they are
being compared against other entries in the same table.
When comparing/merging and 'UNION'ing tables together, the
auto_increment fails to allow a chronological sorting of events as
different tables count in the same range at different times.
A true chronological timestamp allows entries from various sources
(tables) to be merged to show precisely what happenned when, and most
importantly in which order. This is all I'm trying to achieve. If a
valid, repeatable usec time could be achieved from this module
(Time::HiRes), life would be good. As is, unfortunately, the module
does not perform consistently or accurately (at lesat in the way that I
am using it).
If the module can't be made to function accurately (see above posts for
cross-second dupes, etc.) then is there a way (perhaps through POSIX?)
to get the system time (sans whole seconds)-regardless of resolution?
Even 1/10 sec resolution is 10 times more accurate than whole seconds.
I hope I'm explaining the symptoms properly; forgive me if not.
There has to be a good solution. Ideas?
TIA!
pat
:)
- Next message: Brian McCauley: "Re: HTML parsing"
- Previous message: jonathan: "Re: XML::LibXSLT, can't loadLibXSLT.dll"
- In reply to: chris-usenet_at_roaima.co.uk: "Re: dupe times in Time::HiRes"
- Next in thread: chris-usenet_at_roaima.co.uk: "Re: dupe times in Time::HiRes"
- Reply: chris-usenet_at_roaima.co.uk: "Re: dupe times in Time::HiRes"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|