BloombergLP::balb::PerformanceMonitor::PerformanceMonitor

Constructors

Synopses

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...

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default
schedulertimer scheduler used for automatic collection
intervalseconds between automatic collections; non-positive disables automatic collection