|
Boost Users : |
Subject: Re: [Boost-users] [boost] [chrono] v0.4 New thread_clock
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-03-13 19:57:48
Hi Roland,
----- Original Message -----
From: Roland Bock
To: boost-users_at_[hidden]
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
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