![]() |
|
#1
|
|||
|
|||
|
GetTickCount lies??
Hi guys!
Have faced some very interesting problem with GetTickCount. Imagine I placed to the thread, in some endless loop, such code: Code:
x = GetTickCount; Sleep(1000); x = GetTickCount - x; Do you know why after 1000 milliseconds sleep GetTickCount shows 998 milliseconds difference? |
| Tags |
| sleep, time |
|
|