1
0
Fork 0
forked from koniifer/ableos

SCHED: Set a sane TQ

This commit is contained in:
able 2023-07-13 03:41:15 -05:00
parent b9af2ae9c4
commit a9350952b7

View file

@ -4,7 +4,7 @@ use {
}; };
use {crate::host::TrapHandler, hbvm::vm::Vm}; use {crate::host::TrapHandler, hbvm::vm::Vm};
const TIMER_QUOTIENT: usize = 10_000_000; const TIMER_QUOTIENT: usize = 100;
pub struct Scheduler<'a> { pub struct Scheduler<'a> {
data: VecDeque<Vm<'a, TrapHandler, TIMER_QUOTIENT>>, data: VecDeque<Vm<'a, TrapHandler, TIMER_QUOTIENT>>,