Constructors
Synopses
Declared in <balb_performancemonitor.h>
Create a performance monitor that collects statistics on demand.
explicit
PerformanceMonitor(bslma::Allocator* basicAllocator = 0);
Create a performance monitor that collects statistics on a schedule.
PerformanceMonitor(
bdlmt::TimerEventScheduler* scheduler,
double interval,
bslma::Allocator* basicAllocator = 0);
Parameters
Name |
Description |
basicAllocator |
memory allocator; null uses the default |
scheduler |
timer scheduler used for automatic collection |
interval |
seconds between automatic collections; non‐positive disables automatic collection |
Created with MrDocs