ticktimer-server: set quantum to 10ms

This is an experiment to see if this shorter time improves things.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2021-03-23 21:43:35 +08:00
parent e624c184cd
commit d16d0c9bd8

View file

@ -38,7 +38,7 @@ pub fn init() {
))
.expect("timer: couldn't claim interrupt");
let ms = 100; // tick every 100 ms
let ms = 10; // tick every 10 ms
en(false);
load((SYSTEM_CLOCK_FREQUENCY / 1_000) * ms);
reload((SYSTEM_CLOCK_FREQUENCY / 1_000) * ms);