pub struct FunctionProfile {
pub address: u64,
pub sample_count: u64,
pub cpu_time_ns: u64,
pub call_count: u64,
}
Expand description
Function profiling data.
Fields§
§address: u64
Function address
sample_count: u64
Number of samples in this function
cpu_time_ns: u64
Estimated CPU time in this function
call_count: u64
Call frequency
Trait Implementations§
Source§impl Clone for FunctionProfile
impl Clone for FunctionProfile
Source§fn clone(&self) -> FunctionProfile
fn clone(&self) -> FunctionProfile
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 moreAuto Trait Implementations§
impl Freeze for FunctionProfile
impl RefUnwindSafe for FunctionProfile
impl Send for FunctionProfile
impl Sync for FunctionProfile
impl Unpin for FunctionProfile
impl UnwindSafe for FunctionProfile
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