pub struct EngineHeadline {
pub engtype: String,
pub pct: f64,
}Expand description
One adapter’s busiest engine: the device-headline utilization (§3.4).
Fields§
§engtype: StringName of the busiest engine (opaque engtype, surfaced in the UI so the headline is self-explaining: “3D 97%” reads differently from “Copy 97%”).
pct: f64Busy % of that engine. NOT clamped to 100: reads use PDH_FMT_NOCAP100
(mandatory — silent capping would make summed numbers quietly wrong) and
sampling skew can push a sum slightly past 100. Honest > tidy.
Trait Implementations§
Source§impl Clone for EngineHeadline
impl Clone for EngineHeadline
Source§fn clone(&self) -> EngineHeadline
fn clone(&self) -> EngineHeadline
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 EngineHeadline
impl Debug for EngineHeadline
Source§impl PartialEq for EngineHeadline
impl PartialEq for EngineHeadline
impl StructuralPartialEq for EngineHeadline
Auto Trait Implementations§
impl Freeze for EngineHeadline
impl RefUnwindSafe for EngineHeadline
impl Send for EngineHeadline
impl Sync for EngineHeadline
impl Unpin for EngineHeadline
impl UnsafeUnpin for EngineHeadline
impl UnwindSafe for EngineHeadline
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