pub struct CudaStats {
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 unified_memory_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
CUDA statistics
Fields§
§total_allocations: u64§total_deallocations: u64§bytes_allocated: u64§bytes_deallocated: u64§device_memory_used: usize§host_memory_used: usize§unified_memory_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 CudaStats
impl RefUnwindSafe for CudaStats
impl Send for CudaStats
impl Sync for CudaStats
impl Unpin for CudaStats
impl UnsafeUnpin for CudaStats
impl UnwindSafe for CudaStats
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