pub struct EngineMetrics {
pub time_ns: u64,
pub reflect_traces: Vec<Trace>,
pub reflect_dcg: Option<DCG>,
}Expand description
For each engine, for each sampled subcomputation, we record the real time (in nanoseconds) and engine-based counters for DCG costs.
Fields§
§time_ns: u64Time in milliseconds.
reflect_traces: Vec<Trace>Counts of engine (engine trace-level) operations (See
engine::reflect::trace::Trace) during the sample.
The reflected traces of the DCG during the sample; empty if this
option is disabled.
reflect_dcg: Option<DCG>The reflected version of the DCG, at the conclusion of the sample; None if this option is disabled.
Trait Implementations§
Source§impl Clone for EngineMetrics
impl Clone for EngineMetrics
Source§fn clone(&self) -> EngineMetrics
fn clone(&self) -> EngineMetrics
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 moreAuto Trait Implementations§
impl Freeze for EngineMetrics
impl RefUnwindSafe for EngineMetrics
impl !Send for EngineMetrics
impl !Sync for EngineMetrics
impl Unpin for EngineMetrics
impl UnwindSafe for EngineMetrics
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