Struct bastion_executor::load_balancer::LoadBalancer [−][src]
Expand description
Load-balancer struct which allows us to update the mean load
Fields
num_cores: usize
The number of cores available for this program
cores: Vec<CoreId>
The core Ids available for this program This doesn’t take affinity into account
Implementations
Iterates the statistics to get the mean load across the cores
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LoadBalancer
impl Send for LoadBalancer
impl Sync for LoadBalancer
impl Unpin for LoadBalancer
impl UnwindSafe for LoadBalancer
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more