pub struct Scalar {
pub wcet: Service,
}
Expand description
The classic and most simple characterization of the worst-case processor demand of a single job: the scalar WCET bound.
Fields§
§wcet: Service
The worst-case execution bound.
Implementations§
Trait Implementations§
Source§impl JobCostModel for Scalar
impl JobCostModel for Scalar
Source§fn cost_of_jobs(&self, n: usize) -> Service
fn cost_of_jobs(&self, n: usize) -> Service
Model: yield the maximum cumulative processor demand of any
n
consecutive jobs.Source§fn least_wcet(&self, n: usize) -> Service
fn least_wcet(&self, n: usize) -> Service
Model: yield the WCET of the job with the least WCET among
any sequence of
n
consecutive jobs.impl Copy for Scalar
Auto Trait Implementations§
impl Freeze for Scalar
impl RefUnwindSafe for Scalar
impl Send for Scalar
impl Sync for Scalar
impl Unpin for Scalar
impl UnwindSafe for Scalar
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more