pub struct BackendStats {
pub kernels_executed: u64,
pub cache_hits: u64,
pub cache_misses: u64,
pub total_execution_time: f64,
pub total_data_transferred: u64,
pub memory_allocations: u64,
pub buffer_reuse_count: u64,
}
Expand description
Performance statistics for the backend
Fields§
§kernels_executed: u64
Total kernels executed
cache_hits: u64
Cache hits
cache_misses: u64
Cache misses
total_execution_time: f64
Total execution time
total_data_transferred: u64
Total data transferred
memory_allocations: u64
Memory allocations
buffer_reuse_count: u64
Buffer reuse count
Trait Implementations§
Source§impl Clone for BackendStats
impl Clone for BackendStats
Source§fn clone(&self) -> BackendStats
fn clone(&self) -> BackendStats
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 BackendStats
impl Debug for BackendStats
Source§impl Default for BackendStats
impl Default for BackendStats
Source§fn default() -> BackendStats
fn default() -> BackendStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BackendStats
impl RefUnwindSafe for BackendStats
impl Send for BackendStats
impl Sync for BackendStats
impl Unpin for BackendStats
impl UnwindSafe for BackendStats
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