Module glommio::controllers
source · Expand description
provides constructs to automatically control the shares, and in consequence the proportion of resources, that a task uses.
It implements data structures with embedded controllers derived from work in
control theory like the PID controller
.
Structs§
- Glommio’s scheduler is based on
Shares
: the more shares, the more resources the task will receive. - Allows the priority of the
DeadlineQueue
to be temporarily bumped.
Enums§
- The status of a particular controller. In some situations it is useful to disable the controller and use static shares instead.
Traits§
- Items going into the
DeadlineQueue
must implement this trait.