Boost logo

Boost :

From: Johan Nilsson (johan.nilsson_at_[hidden])
Date: 2003-03-27 08:33:08


"Russell Hind" <rhind_at_[hidden]> wrote in message
news:b5uq4s$vbm$2_at_main.gmane.org...
> 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
a
> > _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.

// Johan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk