pub struct VgpuSchedulerSetParams {
pub avg_factor: Option<u32>,
pub frequency_or_timeslice: u32,
}Fields§
§avg_factor: Option<u32>Average factor in compensating the timeslice for Adaptive Round Robin mode
frequency_or_timeslice: u32Frequency for Adaptative Mode (when avg_factor is set)/timeslice in ns for each software run list as configured, or the default value otherwise
Implementations§
Source§impl VgpuSchedulerSetParams
impl VgpuSchedulerSetParams
pub fn as_c(&self) -> nvmlVgpuSchedulerSetParams_t
Trait Implementations§
Source§impl Clone for VgpuSchedulerSetParams
impl Clone for VgpuSchedulerSetParams
Source§fn clone(&self) -> VgpuSchedulerSetParams
fn clone(&self) -> VgpuSchedulerSetParams
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 VgpuSchedulerSetParams
impl Debug for VgpuSchedulerSetParams
Source§impl PartialEq for VgpuSchedulerSetParams
impl PartialEq for VgpuSchedulerSetParams
impl Eq for VgpuSchedulerSetParams
impl StructuralPartialEq for VgpuSchedulerSetParams
Auto Trait Implementations§
impl Freeze for VgpuSchedulerSetParams
impl RefUnwindSafe for VgpuSchedulerSetParams
impl Send for VgpuSchedulerSetParams
impl Sync for VgpuSchedulerSetParams
impl Unpin for VgpuSchedulerSetParams
impl UnwindSafe for VgpuSchedulerSetParams
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