pub struct GpuSample {
pub utilization_pct: f32,
pub vram_used_mb: f64,
pub vram_total_mb: f64,
pub temp_c: f32,
pub throttling: bool,
pub clock_mhz: f32,
pub timestamp_secs: f64,
}Expand description
A single GPU metric sample collected during a benchmark run.
Fields§
§utilization_pct: f32GPU utilization percentage (0.0–100.0).
vram_used_mb: f64VRAM used in megabytes.
vram_total_mb: f64Total VRAM in megabytes.
temp_c: f32GPU temperature in Celsius.
throttling: boolWhether GPU thermal throttling is active.
clock_mhz: f32GPU clock speed in MHz.
timestamp_secs: f64Timestamp relative to benchmark start in seconds.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GpuSample
impl RefUnwindSafe for GpuSample
impl Send for GpuSample
impl Sync for GpuSample
impl Unpin for GpuSample
impl UnsafeUnpin for GpuSample
impl UnwindSafe for GpuSample
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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