[][src]Module bastion_executor::load_balancer

Module for gathering statistics about the run queues of the runtime

Load balancer calculates sampled mean to provide average process execution amount to all runtime.

Structs

LoadBalancer

Load-balancer struct which allows us to update the mean load

Stats

Holding all statistics related to the run queue

Traits

SmpStats

Stats of all the smp queues.

Functions

core_count

Retrieve core count for the runtime scheduling purposes

get_cores

Retrieve cores for the runtime scheduling purposes

stats

Static access to runtime statistics

update

Update the mean load on the singleton