Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 more frequent than Sleep ?, c#

views
     
Mat Quasar
post Nov 28 2024, 03:05 PM

Getting Started
**
Validating
64 posts

Joined: Nov 2024
QUOTE(narf03 @ Mar 14 2024, 04:53 PM)
sleep about ~16ms,  not 1ms
*
I think because the timer resolution is not high. For example, GetTickCount is similar:

QUOTE
The resolution of the GetTickCount function is limited to the resolution of the system timer, which is typically in the range of 10 milliseconds to 16 milliseconds.


So your 16ms findings is tally with what Microsoft documented.

 

Change to:
| Lo-Fi Version
0.0126sec    1.68    6 queries    GZIP Disabled
Time is now: 23rd December 2025 - 10:38 AM