pub struct Prediction {
pub sequential: u64,
pub predicted: u64,
pub regions: Vec<RegionTiming>,
pub loops: Vec<LoopTiming>,
}Expand description
The prediction for one run of a function.
Fields§
§sequential: u64The run as measured: the sum of every sample.
predicted: u64The same path under psync’s schedule.
regions: Vec<RegionTiming>§loops: Vec<LoopTiming>Trait Implementations§
Source§impl Clone for Prediction
impl Clone for Prediction
Source§fn clone(&self) -> Prediction
fn clone(&self) -> Prediction
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 Prediction
impl Debug for Prediction
Source§impl Default for Prediction
impl Default for Prediction
Source§fn default() -> Prediction
fn default() -> Prediction
Returns the “default value” for a type. Read more
Source§impl PartialEq for Prediction
impl PartialEq for Prediction
impl Eq for Prediction
impl StructuralPartialEq for Prediction
Auto Trait Implementations§
impl Freeze for Prediction
impl RefUnwindSafe for Prediction
impl Send for Prediction
impl Sync for Prediction
impl Unpin for Prediction
impl UnsafeUnpin for Prediction
impl UnwindSafe for Prediction
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