Constructors
Declared in <balb_performancemonitor.h>
Create a performance monitor that collects statistics on demand.
explicit
PerformanceMonitor(bslma::Allocator* basicAllocator = 0);
» more...
Create a performance monitor that collects statistics on a schedule.
PerformanceMonitor(
bdlmt::TimerEventScheduler* scheduler,
double interval,
bslma::Allocator* basicAllocator = 0);
» more...
| 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 |