PEP 418: Make it explicit than calling timeBeginPeriod() affects
WaitForSingleObject() and Sleep()
This commit is contained in:
parent
05d90f35a2
commit
471e1412ec
|
@ -509,9 +509,10 @@ days).
|
|||
The default precision of the timeGetTime function can be five
|
||||
milliseconds or more, depending on the machine.
|
||||
|
||||
timeBeginPeriod() can be used to increase the precision of
|
||||
timeGetTime() up to 1 millisecond, but it negatively affects power
|
||||
consumption.
|
||||
timeBeginPeriod() can be used to increase the precision of timeGetTime() up to
|
||||
1 millisecond, but it negatively affects power consumption. Calling
|
||||
timeBeginPeriod() also affects the granularity of some other timing calls, such
|
||||
as CreateWaitableTimer(), WaitForSingleObject() and Sleep().
|
||||
|
||||
.. note::
|
||||
|
||||
|
|
Loading…
Reference in New Issue