[#BloombergLP-balb-PerformanceMonitor-2constructor-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PerformanceMonitor.adoc[PerformanceMonitor]::PerformanceMonitor :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<balb_performancemonitor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit PerformanceMonitor(xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#