pub struct RocmStats {Show 13 fields
pub total_allocations: u64,
pub total_deallocations: u64,
pub bytes_allocated: u64,
pub bytes_deallocated: u64,
pub device_memory_used: usize,
pub host_memory_used: usize,
pub coarse_grained_used: usize,
pub fine_grained_used: usize,
pub stream_operations: u64,
pub kernel_launches: u64,
pub memory_transfers: u64,
pub average_allocation_time: Duration,
pub peak_memory_usage: usize,
}Expand description
ROCm statistics
Fields§
§total_allocations: u64§total_deallocations: u64§bytes_allocated: u64§bytes_deallocated: u64§device_memory_used: usize§host_memory_used: usize§coarse_grained_used: usize§fine_grained_used: usize§stream_operations: u64§kernel_launches: u64§memory_transfers: u64§average_allocation_time: Duration§peak_memory_usage: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for RocmStats
impl RefUnwindSafe for RocmStats
impl Send for RocmStats
impl Sync for RocmStats
impl Unpin for RocmStats
impl UnsafeUnpin for RocmStats
impl UnwindSafe for RocmStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more