pub struct Execution {
pub name: &'static str,
pub number: i32,
pub precision: u32,
pub time_ms: f64,
pub iteration: usize,
}Expand description
A single recorded execution of a Rival interval operator.
Each execution corresponds to a single interval operator being executed.
The name names the operator, except the special
name "adjust", in which case it refers to an internal precision-tuning
pass.
The number gives its position in the compiled
instruction sequence; this allows disambiguating if an expression contains,
say, multiple addition operations.
The precision is the working precision in bits
that the operator was executed at,
the time_ms is the time, in milliseconds, that
the execution took,
and the iteration records which sampling
iteration triggered the execution.
Note that, because Rival executes the register machine multiple times, the same operator (with the same name and number) can appear multiple times for a single point. On the other hand, in some iterations Rival might skip some operators, if the precision is unchanged from previous iterations, so not every operator may show up in the executions list the same number of times.
Fields§
§name: &'static strThe name of the operator, or "adjust" for precision-tuning passes.
number: i32Position in the compiled instruction sequence (-1 for adjust passes).
precision: u32Working precision in bits for this execution.
time_ms: f64Wall-clock time in milliseconds.
iteration: usizeThe sampling iteration that triggered this execution.
Trait Implementations§
impl Copy for Execution
Auto Trait Implementations§
impl Freeze for Execution
impl RefUnwindSafe for Execution
impl Send for Execution
impl Sync for Execution
impl Unpin for Execution
impl UnsafeUnpin for Execution
impl UnwindSafe for Execution
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
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>
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>
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