|
Boost : |
From: Bernard (yahoo_at_[hidden])
Date: 2003-09-08 10:49:00
forget about it, obviously (from reading the library code), it should
have been microsec_clock and not second_clock !
Dunno how I missed it from the online docs :-(
sorry for the noise.
Bernard
Le Lundi 8 Septembre 2003 17:03, Bernard a écrit :
> (boost-user doesn't allow posting so I'm reposting to boost-devel,
> sorry)
>
> Bonjour,
> I'm puzzled by the accuracy of date_time library :
> using debian package of boost 1.30.0 on intel Linux, (Resolution:
> Micro -- Ticks per second: 1000000). I can never get a non-zero
> fractional seconds when doing
> boost::posix_time::second_clock::local_time().time_of_day().fractio
>nal_seconds()
>
> How is it possible to get precise current time with boost date_time
> ?
>
> Thank you for your help,
>
> Bernard
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk