BloombergLP::balb::PerformanceMonitor::Statistics::Statistics

Create a Statistics object with the same values as original.

Synopsis

Declared in <balb_performancemonitor.h>

Statistics(
    Statistics const& original,
    bslma::Allocator* basicAllocator = 0);

Description

Create a Statistics object aggregating the same statistics values as the specified original object. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
originalobject providing the statistics values to copy
basicAllocatormemory allocator; null uses the default