pub trait AggregateRequestBound: RequestBound {
// Required method
fn service_needed_by_n_jobs_per_component(
&self,
delta: Duration,
max_jobs: usize,
) -> Service;
}
Expand description
A refined interface for processor demand that represents the total demand of a collection of individual sources of demand.
Required Methods§
Sourcefn service_needed_by_n_jobs_per_component(
&self,
delta: Duration,
max_jobs: usize,
) -> Service
fn service_needed_by_n_jobs_per_component( &self, delta: Duration, max_jobs: usize, ) -> Service
Bound the total amount of service needed in an interval of
length delta
, subject to the constraint that no individual
source of demand contributes more than max_jobs
worth of
demand.