mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-01-21 19:38:09 +00:00
[host] windows: fix system timer resolution message units
ZwSetTimerResolution works in units of 100ns
This commit is contained in:
parent
d615514799
commit
e228165ff9
1 changed files with 1 additions and 1 deletions
|
@ -519,7 +519,7 @@ bool app_init(void)
|
|||
{
|
||||
ULONG actualResolution;
|
||||
ZwSetTimerResolution(1, true, &actualResolution);
|
||||
DEBUG_INFO("System timer resolution: %.2f ns", (float)actualResolution / 100.0f);
|
||||
DEBUG_INFO("System timer resolution: %lu ns", actualResolution * 100);
|
||||
}
|
||||
|
||||
// get the performance frequency for spinlocks
|
||||
|
|
Loading…
Reference in a new issue