pub struct PowerProfile {
pub graphics_clock: u32,
pub memory_clock: u32,
pub power_limit: u32,
}Expand description
GPU power profile for each ML workload phase.
Fields§
§graphics_clock: u32Graphics clock (MHz) — 0 means “don’t change”
memory_clock: u32Memory clock (MHz) — 0 means “don’t change”
power_limit: u32Power limit (Watts) — 0 means “don’t change”
Trait Implementations§
Source§impl Clone for PowerProfile
impl Clone for PowerProfile
Source§fn clone(&self) -> PowerProfile
fn clone(&self) -> PowerProfile
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 PowerProfile
impl Debug for PowerProfile
impl Copy for PowerProfile
Auto Trait Implementations§
impl Freeze for PowerProfile
impl RefUnwindSafe for PowerProfile
impl Send for PowerProfile
impl Sync for PowerProfile
impl Unpin for PowerProfile
impl UnwindSafe for PowerProfile
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