Boost logo

Boost Users :

From: Keith MacDonald (boost_at_[hidden])
Date: 2005-05-10 11:48:00


Given that the difference in times is a factor of 57, I'm not convinced that
any greater precision is warranted.

"Cory Nelson" <phrosty_at_[hidden]> wrote in message
news:9b1d061405051008415769eb3c_at_mail.gmail.com...
> It might be a good idea to launch the benchmark in a seperate thread,
> then call something like:
>
> double GetThreadTime(HANDLE t) {
> __int64 c, e, k, u;
> GetThreadTimes(t, (FILETIME*)&c, (FILETIME*)&e, (FILETIME*)&k,
> (FILETIME*)&u);
>
> return u/10000000.0; // user-mode time in seconds
> }
>
> to get a more precise time.
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net