[][src]Struct nvml_binding::bindings::nvmlAccountingStats_st

#[repr(C)]
pub struct nvmlAccountingStats_st {
    pub gpuUtilization: c_uint,
    pub memoryUtilization: c_uint,
    pub maxMemoryUsage: c_ulonglong,
    pub time: c_ulonglong,
    pub startTime: c_ulonglong,
    pub isRunning: c_uint,
    pub reserved: [c_uint; 5],
}

Describes accounting statistics of a process.

Fields

gpuUtilization: c_uint

!< Percent of time over the process's lifetime during which one or more kernels was executing on the GPU.

memoryUtilization: c_uint

!< Percent of time over the process's lifetime during which global (device) memory was being read or written.

maxMemoryUsage: c_ulonglong

!< Maximum total memory in bytes that was ever allocated by the process.

time: c_ulonglong

!< Amount of time in ms during which the compute context was active. The time is reported as 0 if !< the process is not terminated

startTime: c_ulonglong

!< CPU Timestamp in usec representing start time for the process

isRunning: c_uint

!< Flag to represent if the process is running (1 for running, 0 for terminated)

reserved: [c_uint; 5]

!< Reserved for future use

Trait Implementations

impl Clone for nvmlAccountingStats_st[src]

impl Copy for nvmlAccountingStats_st[src]

impl Debug for nvmlAccountingStats_st[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]