From: Johan Nilsson (johan.nilsson_at_[hidden])
Date: 2003-03-27 08:33:08
"Russell Hind" <rhind_at_[hidden]> wrote in message
> Johan Nilsson wrote:
> >>Can these be used to get an actual date/time though? Or just for high
> >>resolution timing? I've only had a brief look at them, so will read a
> >>bit more.
> > Yes and yes. But the former (using them to get an actual date/time with
> > _low_ overhead) is ... well ... interesting ;-)
> How do you convert the tick count from QueryPerformanceCounter into a
> date time then? I can't see how to do this?
In brief: get the value of QPC at the instance the system time changes. The
devil is in the details, of course, but it's a good starting point.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk