crosvm/base
Colin Downs-Razouk 27bdb64e4d base: windows: timer: fix interval < 1ms
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>
2022-09-28 21:17:41 +00:00
..
base_event_token_derive Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
src base: windows: timer: fix interval < 1ms 2022-09-28 21:17:41 +00:00
.build_test_serial Refactoring: Move common/base into base 2022-03-17 00:01:27 +00:00
Cargo.toml crosvm: fold windows-only proto-tube-hack into kiwi 2022-09-08 19:04:26 +00:00