[#BloombergLP-balb-PerformanceMonitor-Statistics] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/PerformanceMonitor.adoc[PerformanceMonitor]::Statistics :relfileprefix: ../../../ :mrdocs: Defines the performance statistics collected for a monitored process. 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. == Synopsis Declared in `<balb_performancemonitor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class Statistics; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balb/PerformanceMonitor/Statistics/2constructor-05.adoc[`Statistics`] [.small]#[constructor]# | Constructors | xref:BloombergLP/balb/PerformanceMonitor/Statistics/avgValue.adoc[`avgValue`] | Return the average of the collected values for the specified `metric`, or an unspecified value if no values have been collected. | xref:BloombergLP/balb/PerformanceMonitor/Statistics/description.adoc[`description`] | Return the user‐supplied description of the process identified by the result of the `pid()` function. | xref:BloombergLP/balb/PerformanceMonitor/Statistics/elapsedTime.adoc[`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. | xref:BloombergLP/balb/PerformanceMonitor/Statistics/latestValue.adoc[`latestValue`] | Return the latest collected value for the specified `measure`, or 0 if no values are yet available. | xref:BloombergLP/balb/PerformanceMonitor/Statistics/maxValue.adoc[`maxValue`] | Return the maximum collected value for the specified `measure`, or a large negative value if no values have been collected. | xref:BloombergLP/balb/PerformanceMonitor/Statistics/minValue.adoc[`minValue`] | Return the minimum collected value for the specified `measure`, or a large positive value if no values have been collected. | xref:BloombergLP/balb/PerformanceMonitor/Statistics/pid.adoc[`pid`] | Return the pid for which these statistics were collected. | xref:BloombergLP/balb/PerformanceMonitor/Statistics/print-08.adoc[`print`] | `print` overloads | xref:BloombergLP/balb/PerformanceMonitor/Statistics/reset.adoc[`reset`] | Reset this object to the state in which no samples have been collected. Note that although this method is public, it can't be called directly by users, since `PerformanceMonitor` provides only const access to statistics. | xref:BloombergLP/balb/PerformanceMonitor/Statistics/startupTime.adoc[`startupTime`] | Return the startup time in Coordinated Universal Time. | xref:BloombergLP/balb/PerformanceMonitor/Statistics/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<Statistics, UsesBslmaAllocator>`] | Declare that this type uses a `bslma` allocator. |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/balb/PerformanceMonitor.adoc[BloombergLP::balb::PerformanceMonitor::Collector]` | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#