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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.