Struct flame::Span
[−]
[src]
pub struct Span { pub name: StrCow, pub start_ns: u64, pub end_ns: u64, pub delta: u64, pub depth: u16, pub children: Vec<Span>, pub notes: Vec<Note>, // some fields omitted }
A named timespan.
The span is the most important feature of Flame. It denotes a chunk of time that is important to you.
The Span records * Start and stop time * A list of children (also called sub-spans) * A list of notes
Fields
name: StrCow
The name of the span
start_ns: u64
The timestamp of the start of the span
end_ns: u64
The timestamp of the end of the span
delta: u64
The time that ellapsed between start_ns and end_ns
depth: u16
How deep this span is in the tree
children: Vec<Span>
A list of spans that occurred inside this one
notes: Vec<Note>
A list of notes that occurred inside this span
Trait Implementations
impl Debug for Span
[src]
impl Clone for Span
[src]
fn clone(&self) -> Span
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more