----- Original Message -----
Sent: Tuesday, March 09, 2010 11:30
PM
Subject: Re: [Boost-users] [boost]
[chrono] v0.4 New thread_clock
vicente.botet wrote:
Hi,
sorry for the late response.
No problem :-)
Will thread_clock work for Windows as well?
The current implemtation works only on Posix systems providing this feature. This has allowed me to make some performances measures i needed to do, to evaluate the time spent by the measures themselves.
For the moment I have not seen if this is even possible. I don't know the Windows interface at all. Maybe some Windows gurus can give me some pointers on whether this is possible and how.
In my former company we did this:
FILETIME
creationTime;
FILETIME exitTime;
FILETIME
kernelTime;
FILETIME userTime;
GetThreadTimes
(GetCurrentThread
(),
&creationTime,
&exitTime,
&kernelTime,
&userTime);
Regards,
___________________________________
Happy to hear that there exist a Windows
interface. I will try it tomorrow.
Thanks a lot,
Vicente