Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: viewtopic.php?t=37864

Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

(windows) Platform Timer Resolution set to 1ms

Post Reply
drlava
Posts: 1
Joined: 2018-09-04 16:00

(windows) Platform Timer Resolution set to 1ms

Post by drlava »

Dev team,
Windows is reporting that UltraVNC is setting the platform timer resolution (timeslice resolution) to 1ms. This increases system/task switching overhead and increases CPU use, draining my battery. This is commonly set with a call to timeBeginPeriod().

How can I instruct UltraVNC to not set this fine time resolution, and keep the standard windows task switching timer in place?
User avatar
Rudi De Vos
Admin & Developer
Admin & Developer
Posts: 6832
Joined: 2004-04-23 10:21
Contact:

Re: (windows) Platform Timer Resolution set to 1ms

Post by Rudi De Vos »

It's not something you can put on or off. The compiler use this timer if a single high precision function is used.
This would require that we check the full source for the high precision functions. Disable code parts and vnc functions or replace them with alternative code and all in a switch statement tobe able to swicth it on or off.
Not for now, will put it on a todo list.

What the cpu gain you can get with it ?
Post Reply