forked from AbleOS/ableos
SCHED: Set a sane TQ
This commit is contained in:
parent
b9af2ae9c4
commit
a9350952b7
|
@ -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>>,
|
||||||
|
|
Loading…
Reference in a new issue