BloombergLP::balb::PerformanceMonitor::Statistics

Defines the performance statistics collected for a monitored process.

Synopsis

Declared in <balb_performancemonitor.h>

class Statistics;

Description

Note that this class is not fully value-semantic. It is intended to provide a read-only view of a set of collected performance statistics.

Member Functions

NameDescription
Statistics [constructor]Constructors
avgValue Return the average of the collected values for the specified measure, or an unspecified value if no values have been collected.
description Return the user-supplied description of the process identified by the result of the pid() function.
elapsedTime Return the number of seconds (in wall time) that have elapsed since the startup the process identified by the result of the pid() function.
latestValue Return the latest collected value for the specified measure, or 0 if no values are yet available.
maxValue Return the maximum collected value for the specified measure, or a large negative value if no values have been collected.
minValue Return the minimum collected value for the specified measure, or a large positive value if no values have been collected.
pid Return the pid for which these statistics were collected.
print print overloads
reset Reset this object so that no samples have been collected.
startupTime Return the startup time in Coordinated Universal Time.
operator BloombergLP::bslmf::NestedTraitDeclaration<Statistics, UsesBslmaAllocator> Declare that this type uses a bslma allocator.