pub struct DenseExecutionGroupReport { /* private fields */ }Expand description
Point-in-time occupancy for one named execution stack.
Implementations§
Source§impl DenseExecutionGroupReport
impl DenseExecutionGroupReport
Sourcepub fn new(
id: impl Into<String>,
planned_layers: usize,
planned_bytes: u64,
completed_executions: u64,
host_layers: usize,
host_bytes: u64,
peak_host_layers: usize,
peak_host_bytes: u64,
device_layers: usize,
device_bytes: u64,
peak_device_layers: usize,
peak_device_bytes: u64,
) -> Self
pub fn new( id: impl Into<String>, planned_layers: usize, planned_bytes: u64, completed_executions: u64, host_layers: usize, host_bytes: u64, peak_host_layers: usize, peak_host_bytes: u64, device_layers: usize, device_bytes: u64, peak_device_layers: usize, peak_device_bytes: u64, ) -> Self
Creates one named execution-group report.
Sourcepub const fn planned_layers(&self) -> usize
pub const fn planned_layers(&self) -> usize
Returns disk-planned layers in the group.
Sourcepub const fn planned_bytes(&self) -> u64
pub const fn planned_bytes(&self) -> u64
Returns logical checkpoint bytes in the group.
Sourcepub const fn completed_executions(&self) -> u64
pub const fn completed_executions(&self) -> u64
Returns successfully completed executions of this group.
Sourcepub const fn host_layers(&self) -> usize
pub const fn host_layers(&self) -> usize
Returns current host-resident group layers.
Sourcepub const fn host_bytes(&self) -> u64
pub const fn host_bytes(&self) -> u64
Returns current host-resident group bytes.
Sourcepub const fn peak_host_layers(&self) -> usize
pub const fn peak_host_layers(&self) -> usize
Returns the peak number of host-resident layers observed for the group.
Sourcepub const fn peak_host_bytes(&self) -> u64
pub const fn peak_host_bytes(&self) -> u64
Returns peak host-resident layer bytes observed for the group.
Sourcepub const fn device_layers(&self) -> usize
pub const fn device_layers(&self) -> usize
Returns current device-resident group layers.
Sourcepub const fn device_bytes(&self) -> u64
pub const fn device_bytes(&self) -> u64
Returns current device-resident group bytes.
Sourcepub const fn peak_device_layers(&self) -> usize
pub const fn peak_device_layers(&self) -> usize
Returns the peak number of device-resident layers observed for the group.
Sourcepub const fn peak_device_bytes(&self) -> u64
pub const fn peak_device_bytes(&self) -> u64
Returns peak device-resident layer bytes observed for the group.
Trait Implementations§
Source§impl Clone for DenseExecutionGroupReport
impl Clone for DenseExecutionGroupReport
Source§fn clone(&self) -> DenseExecutionGroupReport
fn clone(&self) -> DenseExecutionGroupReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DenseExecutionGroupReport
impl Debug for DenseExecutionGroupReport
impl Eq for DenseExecutionGroupReport
impl StructuralPartialEq for DenseExecutionGroupReport
Auto Trait Implementations§
impl Freeze for DenseExecutionGroupReport
impl RefUnwindSafe for DenseExecutionGroupReport
impl Send for DenseExecutionGroupReport
impl Sync for DenseExecutionGroupReport
impl Unpin for DenseExecutionGroupReport
impl UnsafeUnpin for DenseExecutionGroupReport
impl UnwindSafe for DenseExecutionGroupReport
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