pub struct Function {
pub ir: u64,
pub files: BTreeMap<String, u64>,
}Expand description
One function’s self cost, and the source files it was charged under.
Fields§
§ir: u64Instructions retired in the function’s own code.
files: BTreeMap<String, u64>The same, by source file. cachegrind charges a line to the file it came from, so a function with a helper inlined into it shows up under the helper’s header as well as its own source.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Function
Auto Trait Implementations§
impl Forget for Function
impl Freeze for Function
impl Move for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnsafeUnpin for Function
impl UnwindSafe for Function
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