#[repr(C)]pub struct SchedulerPartition {
pub partition_id: u32,
pub time_slice_us: u32,
pub task_count: u32,
pub remaining_us: u32,
}Expand description
Task scheduling partition.
Tasks are grouped by their RVF mount origin. Each partition gets a guaranteed time slice, preventing a misbehaving component from starving others.
Fields§
§partition_id: u32Partition ID (typically matches RVF mount ID).
time_slice_us: u32Time slice in microseconds per scheduling epoch.
task_count: u32Current tasks in this partition.
remaining_us: u32Remaining time in current epoch.
Implementations§
Trait Implementations§
Source§impl Clone for SchedulerPartition
impl Clone for SchedulerPartition
Source§fn clone(&self) -> SchedulerPartition
fn clone(&self) -> SchedulerPartition
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 SchedulerPartition
impl Debug for SchedulerPartition
Source§impl Hash for SchedulerPartition
impl Hash for SchedulerPartition
Source§impl PartialEq for SchedulerPartition
impl PartialEq for SchedulerPartition
impl Copy for SchedulerPartition
impl Eq for SchedulerPartition
impl StructuralPartialEq for SchedulerPartition
Auto Trait Implementations§
impl Freeze for SchedulerPartition
impl RefUnwindSafe for SchedulerPartition
impl Send for SchedulerPartition
impl Sync for SchedulerPartition
impl Unpin for SchedulerPartition
impl UnsafeUnpin for SchedulerPartition
impl UnwindSafe for SchedulerPartition
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