{\r
PROFILE("Kernel task loop");\r
\r
- //DWORD starting_point = GetTickCount();\r
+ DWORD starting_point = GetTickCount();\r
\r
#ifdef WIN32\r
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))\r
}\r
}\r
IMMObject::CollectGarbage();\r
- //DWORD end_point = GetTickCount();\r
-// Sleep(50 - (end_point-starting_point));\r
+ DWORD end_point = GetTickCount();\r
+ Sleep(50 - (end_point-starting_point));\r
}\r
#ifdef _DEBUG\r
CProfileSample::Output();\r