Struct time_graph::TimedSpan
source · [−]pub struct TimedSpan {
pub id: usize,
pub callsite: &'static CallSite,
pub elapsed: Duration,
pub called: u32,
}Expand description
TimedSpan contains all data related to a single function or span inside
the global call graph.
Fields
id: usizeUnique identifier of this function/span in the call graph
callsite: &'static CallSiteCallSite associated with this function/span
elapsed: DurationTotal elapsed time inside this function/span
called: u32Number of times this function/span have been called
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TimedSpan
impl Send for TimedSpan
impl Sync for TimedSpan
impl Unpin for TimedSpan
impl UnwindSafe for TimedSpan
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more