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: usize
Unique identifier of this function/span in the call graph
callsite: &'static CallSite
CallSite
associated with this function/span
elapsed: Duration
Total elapsed time inside this function/span
called: u32
Number of times this function/span have been called
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimedSpan
impl RefUnwindSafe for TimedSpan
impl Send for TimedSpan
impl Sync for TimedSpan
impl Unpin for TimedSpan
impl UnwindSafe for TimedSpan
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