pub struct PipelineCostParams {
pub stages: Vec<StageStats>,
pub arrival_rate: f64,
pub frame_budget_us: f64,
}Expand description
Parameters for the M/G/1 pipeline scheduling model.
Fields§
§stages: Vec<StageStats>Service time statistics for each pipeline stage.
arrival_rate: f64Frame arrival rate (frames/µs). At 60fps: 1/16667 ≈ 0.00006.
frame_budget_us: f64Target frame budget (µs). At 60fps: 16667.
Implementations§
Source§impl PipelineCostParams
impl PipelineCostParams
Sourcepub fn analyze(&self) -> PipelineCostResult
pub fn analyze(&self) -> PipelineCostResult
Analyze the pipeline using M/G/1 queueing theory.
Trait Implementations§
Source§impl Clone for PipelineCostParams
impl Clone for PipelineCostParams
Source§fn clone(&self) -> PipelineCostParams
fn clone(&self) -> PipelineCostParams
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 PipelineCostParams
impl Debug for PipelineCostParams
Auto Trait Implementations§
impl Freeze for PipelineCostParams
impl RefUnwindSafe for PipelineCostParams
impl Send for PipelineCostParams
impl Sync for PipelineCostParams
impl Unpin for PipelineCostParams
impl UnwindSafe for PipelineCostParams
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