pub struct Summary {
pub total: Duration,
pub first_file: Option<Duration>,
pub document: Option<Duration>,
pub pages: Vec<Duration>,
pub frames: Vec<SummaryFrame>,
pub stacks: Vec<(Vec<u32>, u64)>,
pub calls: HashMap<String, u64>,
}Expand description
What a profile found.
Fields§
§total: DurationThe time from the start of the profile to its end.
first_file: Option<Duration>When the first file was read.
document: Option<Duration>When the preamble ended (\document).
pages: Vec<Duration>When each page was shipped out.
frames: Vec<SummaryFrame>The frames of the stacks.
stacks: Vec<(Vec<u32>, u64)>The stacks, from the outermost frame (indices in frames), and
the microseconds charged to each.
calls: HashMap<String, u64>Calls per macro name, for the macros called.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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