pub struct JitStats {
pub total_compilations: usize,
pub cache_hits: usize,
pub cache_misses: usize,
pub recompilations: usize,
pub deoptimizations: usize,
pub avg_compilation_time: Duration,
pub total_time_saved: Duration,
}Expand description
Statistics for JIT compilation performance.
Fields§
§total_compilations: usizeTotal number of compilations performed
cache_hits: usizeNumber of cache hits
cache_misses: usizeNumber of cache misses
recompilations: usizeNumber of recompilations due to hot path optimization
deoptimizations: usizeNumber of deoptimizations
avg_compilation_time: DurationAverage compilation time
total_time_saved: DurationTotal time saved by caching
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JitStats
impl RefUnwindSafe for JitStats
impl Send for JitStats
impl Sync for JitStats
impl Unpin for JitStats
impl UnsafeUnpin for JitStats
impl UnwindSafe for JitStats
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