pub struct JitEntryStats {
pub execution_count: usize,
pub total_execution_time: Duration,
pub avg_execution_time: Duration,
pub optimization_level: OptimizationLevel,
pub last_executed: Instant,
pub compiled_at: Instant,
pub is_specialized: bool,
}Expand description
Statistics for a compiled graph in the JIT cache.
Fields§
§execution_count: usizeNumber of times this compiled version has been executed
total_execution_time: DurationTotal execution time for this version
avg_execution_time: DurationAverage execution time
optimization_level: OptimizationLevelOptimization level used
last_executed: InstantTimestamp of last execution
compiled_at: InstantTimestamp when compiled
is_specialized: boolWhether this is a specialized version
Implementations§
Source§impl JitEntryStats
impl JitEntryStats
Trait Implementations§
Source§impl Clone for JitEntryStats
impl Clone for JitEntryStats
Source§fn clone(&self) -> JitEntryStats
fn clone(&self) -> JitEntryStats
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 JitEntryStats
impl Debug for JitEntryStats
Auto Trait Implementations§
impl Freeze for JitEntryStats
impl RefUnwindSafe for JitEntryStats
impl Send for JitEntryStats
impl Sync for JitEntryStats
impl Unpin for JitEntryStats
impl UnwindSafe for JitEntryStats
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