Struct rustc_session::PerfStats
source · pub struct PerfStats {
pub symbol_hash_time: Lock<Duration>,
pub queries_canonicalized: AtomicUsize,
pub normalize_generic_arg_after_erasing_regions: AtomicUsize,
pub normalize_projection_ty: AtomicUsize,
}
Fields§
§symbol_hash_time: Lock<Duration>
The accumulated time spent on computing symbol hashes.
queries_canonicalized: AtomicUsize
Total number of values canonicalized queries constructed.
normalize_generic_arg_after_erasing_regions: AtomicUsize
Number of times this query is invoked.
normalize_projection_ty: AtomicUsize
Number of times this query is invoked.
Auto Trait Implementations§
impl !RefUnwindSafe for PerfStats
impl Send for PerfStats
impl !Sync for PerfStats
impl Unpin for PerfStats
impl UnwindSafe for PerfStats
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes