pub struct AccountingStats {
pub gpu_utilization: u32,
pub memory_utilization: u32,
pub max_memory_usage: u64,
pub time: u64,
pub start_time: u64,
pub is_running: bool,
}Fields§
§gpu_utilization: u32§memory_utilization: u32§max_memory_usage: u64§time: u64§start_time: u64§is_running: boolTrait Implementations§
Source§impl Clone for AccountingStats
impl Clone for AccountingStats
Source§fn clone(&self) -> AccountingStats
fn clone(&self) -> AccountingStats
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 AccountingStats
impl Debug for AccountingStats
Source§impl From<nvmlAccountingStats_st> for AccountingStats
impl From<nvmlAccountingStats_st> for AccountingStats
Source§fn from(value: nvmlAccountingStats_t) -> Self
fn from(value: nvmlAccountingStats_t) -> Self
Converts to this type from the input type.
Source§impl Hash for AccountingStats
impl Hash for AccountingStats
Source§impl PartialEq for AccountingStats
impl PartialEq for AccountingStats
Source§fn eq(&self, other: &AccountingStats) -> bool
fn eq(&self, other: &AccountingStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AccountingStats
impl Eq for AccountingStats
impl StructuralPartialEq for AccountingStats
Auto Trait Implementations§
impl Freeze for AccountingStats
impl RefUnwindSafe for AccountingStats
impl Send for AccountingStats
impl Sync for AccountingStats
impl Unpin for AccountingStats
impl UnsafeUnpin for AccountingStats
impl UnwindSafe for AccountingStats
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