Appearance
cellpack::prof::Setup
Module contract · All interfaces
At a glance
A run’s profiling setup: the mask, the clock and the record layout.
Fields and variants
mask
mask: SiteMaskThe sites the run records.
clock
clock: ClockThe run’s clock, shared by every forked profiler.
layout
The record layout of every thread’s record.
Member index
3 of 3 members
Methods and associated constants
new
A setup for mask with a fresh clock and a layout for the run’s schemas and size bands.
profiler
A profiler for one thread of the run.
report
pub fn report(&self, rec: &Record) -> ProfileReportThe merged records as a report.
Implemented traits
Contract 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.