pub struct NativeEmitStats {
pub functions_compiled: usize,
pub blocks_generated: usize,
pub instructions_generated: usize,
pub virtual_regs_used: usize,
pub stack_slots_allocated: usize,
pub spills: usize,
}Expand description
Statistics from native code generation.
Fields§
§functions_compiled: usizeNumber of functions compiled.
blocks_generated: usizeNumber of basic blocks generated.
instructions_generated: usizeNumber of instructions generated.
virtual_regs_used: usizeNumber of virtual registers used.
stack_slots_allocated: usizeNumber of stack slots allocated.
spills: usizeNumber of spills during register allocation.
Trait Implementations§
Source§impl Clone for NativeEmitStats
impl Clone for NativeEmitStats
Source§fn clone(&self) -> NativeEmitStats
fn clone(&self) -> NativeEmitStats
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 NativeEmitStats
impl Debug for NativeEmitStats
Source§impl Default for NativeEmitStats
impl Default for NativeEmitStats
Source§fn default() -> NativeEmitStats
fn default() -> NativeEmitStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NativeEmitStats
impl RefUnwindSafe for NativeEmitStats
impl Send for NativeEmitStats
impl Sync for NativeEmitStats
impl Unpin for NativeEmitStats
impl UnsafeUnpin for NativeEmitStats
impl UnwindSafe for NativeEmitStats
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