Appearance
cellpack::prof::SiteReport
Module contract · All interfaces
At a glance
pub struct SiteReport {
pub name: &'static str,
pub calls: u64,
pub time: Duration,
pub self_time: Duration,
pub details: Vec<DetailReport>,
pub hist: Option<Vec<(u64, u64)>>,
}One site’s totals, as a report shows them.
Fields and variants
name
name: &'static strThe site’s name.
calls
calls: u64Calls recorded.
time
time: DurationTime inside the site, including recorded child sites.
self_time
self_time: DurationTime less the recorded child sites.
details
details: Vec<DetailReport>The site’s detail slots that recorded calls.
hist
Histogram sites: (lower bound in nanoseconds, count) per nonempty log2 bucket.
Implemented traits
impl Clone for SiteReportimpl Debug for SiteReportimpl PartialEq for SiteReportContract reference
See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.