pub struct LoadStats {
pub tasks_per_device: Vec<usize>,
pub time_per_device: Vec<u64>,
pub active_tasks: Vec<usize>,
pub memory_per_device: Vec<u64>,
pub migrations_from: Vec<usize>,
pub migrations_to: Vec<usize>,
}Expand description
Load balancing statistics
Fields§
§tasks_per_device: Vec<usize>Total tasks assigned per device
time_per_device: Vec<u64>Total execution time per device (microseconds)
active_tasks: Vec<usize>Current active tasks per device
memory_per_device: Vec<u64>Memory usage per device (bytes)
migrations_from: Vec<usize>Migration count per device (as source)
migrations_to: Vec<usize>Migration count per device (as destination)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoadStats
impl RefUnwindSafe for LoadStats
impl Send for LoadStats
impl Sync for LoadStats
impl Unpin for LoadStats
impl UnsafeUnpin for LoadStats
impl UnwindSafe for LoadStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more