datetime review part 2 [Update 4]

Jonathan M Davis jmdavisProg at gmx.com
Wed Nov 17 22:28:19 PST 2010


On Wednesday 17 November 2010 21:51:24 Kagamin wrote:
> Jonathan M Davis Wrote:
> > I'd have to study up on it to see whether there are any real problems
> > with it.
> 
> Speaking in posix terms, performance counter is more like CLOCK_MONOTONIC
> and using it as CLOCK_REALTIME is a dependency on undefined behavior.

If you have a better way to do it, I'm all ears. However, it's the only way that 
I know of to get high-precision time on Windows.

- Jonathan M Davis


More information about the Digitalmars-d mailing list