pub struct InlineProfile {
pub call_counts: HashMap<String, u64>,
pub hot_functions: HashSet<String>,
}Expand description
Profile information collected (or estimated) for inlining decisions.
Fields§
§call_counts: HashMap<String, u64>Number of times each callee name has been called.
hot_functions: HashSet<String>Set of function names considered “hot” (called very frequently).
Implementations§
Trait Implementations§
Source§impl Clone for InlineProfile
impl Clone for InlineProfile
Source§fn clone(&self) -> InlineProfile
fn clone(&self) -> InlineProfile
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 InlineProfile
impl Debug for InlineProfile
Auto Trait Implementations§
impl Freeze for InlineProfile
impl RefUnwindSafe for InlineProfile
impl Send for InlineProfile
impl Sync for InlineProfile
impl Unpin for InlineProfile
impl UnsafeUnpin for InlineProfile
impl UnwindSafe for InlineProfile
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