AggregatedTimedBlock constructor
Creates a timed block of code from a name
and duration
.
The name
should be sufficiently unique and descriptive for someone to
easily tell which part of code was measured.
Implementation
const AggregatedTimedBlock({
required this.name,
required this.duration,
required this.count,
}) : assert(duration >= 0);