BloombergLP::balb::PerformanceMonitor::PerformanceMonitor

Create a performance monitor that collects statistics on demand.

Synopsis

Declared in <balb_performancemonitor.h>

explicit
PerformanceMonitor(bslma::Allocator* basicAllocator = 0);

Description

Create an instance of this class to collect performance statistics on demand (via the collect method). Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default