|
From: Kukanov, A. <Ale...@in...> - 2008-03-17 16:42:24
|
I have found an interesting post in one of the Intel forums: ===== hello i want to get the time spent by any thread on win32 when i uste GeTthreadTimes(user,kernel) the minimum resolution is 1ms how to get the delta of 1ms if i call many time GeThreadTimes() in the delta de 1ms the function return allways the same time !!!!!! the QueryPerformanceCounter() use high resolution timming but is not correct for thread time i want thread time user & kernel in high resolution timming : 100ns anyone know or have solution ????? Thanks ===== It might be interesting and useful to extend TBB timing capabilities with a class that returns high-resolution user and kernel times for a thread. But do operating systems of interest provide necessary capabilities? Regards, - Alexey -------------------------------------------------------------------- Closed Joint Stock Company Intel A/O Registered legal address: Krylatsky Hills Business Park, 17 Krylatskaya Str., Bldg 4, Moscow 121614, Russian Federation This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. |