pub struct GpuProbeState {
pub allocations_total: u64,
pub oom_total: u64,
pub max_generation_observed: u64,
pub kernels_in_flight: u32,
pub kernels_total: u64,
pub vram_free_bytes: u64,
pub vram_total_bytes: u64,
}Fields§
§allocations_total: u64Cumulative number of GpuRef allocations that succeeded.
oom_total: u64Cumulative number of GpuRef allocations that returned
OutOfMemory.
max_generation_observed: u64Highest observed DeviceState::generation (bumps on context
rebuild).
kernels_in_flight: u32Currently in-flight kernel launches across all actors.
kernels_total: u64Cumulative kernel-launch count.
vram_free_bytes: u64Free / total VRAM as last reported by a Stats poll. 0 when
no poll has occurred yet.
vram_total_bytes: u64Trait Implementations§
Source§impl Clone for GpuProbeState
impl Clone for GpuProbeState
Source§fn clone(&self) -> GpuProbeState
fn clone(&self) -> GpuProbeState
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 GpuProbeState
impl Debug for GpuProbeState
Source§impl Default for GpuProbeState
impl Default for GpuProbeState
Source§fn default() -> GpuProbeState
fn default() -> GpuProbeState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GpuProbeState
impl RefUnwindSafe for GpuProbeState
impl Send for GpuProbeState
impl Sync for GpuProbeState
impl Unpin for GpuProbeState
impl UnsafeUnpin for GpuProbeState
impl UnwindSafe for GpuProbeState
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