mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 03:57:24 +00:00
Windows' SetWaitableTimer function takes a period argument that is in milliseconds. If it's set to 0 then the timer will not be periodic. If the reset function is called with a period that is <1ms but not None, we should set the period to 1ms which is the best we can do. Bug: b:248612697 Test: ran kernel with HZ=1000 on Windows, verified PIT works Change-Id: Ie908205a455c818bad5b246da54b504eb9ce7b27 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3926198 Commit-Queue: Colin Downs-Razouk <colindr@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Vikram Auradkar <auradkar@google.com> |
||
---|---|---|
.. | ||
base_event_token_derive | ||
src | ||
.build_test_serial | ||
Cargo.toml |