pub struct OneApiStats {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 shared_memory_used: usize,
pub usm_allocations: u64,
pub queue_operations: u64,
pub kernel_submissions: u64,
pub memory_transfers: u64,
pub average_allocation_time: Duration,
pub peak_memory_usage: usize,
}Expand description
OneAPI statistics
Fields§
§total_allocations: u64§total_deallocations: u64§bytes_allocated: u64§bytes_deallocated: u64§device_memory_used: usize§host_memory_used: usize§usm_allocations: u64§queue_operations: u64§kernel_submissions: u64§memory_transfers: u64§average_allocation_time: Duration§peak_memory_usage: usizeTrait Implementations§
Source§impl Clone for OneApiStats
impl Clone for OneApiStats
Source§fn clone(&self) -> OneApiStats
fn clone(&self) -> OneApiStats
Returns a duplicate of the value. Read more
1.0.0 · 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 OneApiStats
impl Debug for OneApiStats
Source§impl Default for OneApiStats
impl Default for OneApiStats
Source§fn default() -> OneApiStats
fn default() -> OneApiStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OneApiStats
impl RefUnwindSafe for OneApiStats
impl Send for OneApiStats
impl Sync for OneApiStats
impl Unpin for OneApiStats
impl UnsafeUnpin for OneApiStats
impl UnwindSafe for OneApiStats
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