Appearance
cellpack::prof::ProfileReport
Module contract · All interfaces
At a glance
pub struct ProfileReport {
pub schemas: usize,
pub bands: usize,
pub sites: Vec<SiteReport>,
}What a profiled run recorded, per enabled site.
Fields and variants
schemas
schemas: usizeSchemas the run’s sites were laid out for.
bands
bands: usizeSize bands the run’s sites were laid out for.
sites
sites: Vec<SiteReport>One entry per enabled site, in Site order.
Member index
2 of 2 members
Methods and associated constants
site
pub fn site(&self, name: &str) -> Option<&SiteReport>The report of the site named name, if it was recorded.
time
A site’s total time, zero when it was not recorded.
Implemented traits
impl Clone for ProfileReportimpl Debug for ProfileReportimpl Default for ProfileReportimpl PartialEq for ProfileReportContract 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.