[#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&period;

== Synopsis

Declared in `&lt;balb&lowbar;performancemonitor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class Statistics;
----

== Description

Note that this class is not fully value&hyphen;semantic&period; It is intended to provide a read&hyphen;only view of a set of collected performance statistics&period;

== 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 `measure`, or an unspecified value if no values have been collected&period;
| xref:BloombergLP/balb/PerformanceMonitor/Statistics/description.adoc[`description`] 
| Return the user&hyphen;supplied description of the process identified by the result of the `pid()` function&period;
| 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&period;
| 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&period;
| 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&period;
| 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&period;
| xref:BloombergLP/balb/PerformanceMonitor/Statistics/pid.adoc[`pid`] 
| Return the pid for which these statistics were collected&period;
| xref:BloombergLP/balb/PerformanceMonitor/Statistics/print-08.adoc[`print`] 
| `print` overloads
| xref:BloombergLP/balb/PerformanceMonitor/Statistics/reset.adoc[`reset`] 
| Reset this object so that no samples have been collected&period;
| xref:BloombergLP/balb/PerformanceMonitor/Statistics/startupTime.adoc[`startupTime`] 
| Return the startup time in Coordinated Universal Time&period;
| xref:BloombergLP/balb/PerformanceMonitor/Statistics/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;Statistics, UsesBslmaAllocator&gt;`] 
| Declare that this type uses a `bslma` allocator&period;
|===


== Friends

[cols="1,4"]
|===
| Name| Description
| `xref:BloombergLP/balb/PerformanceMonitor.adoc[BloombergLP::balb::PerformanceMonitor::Collector]`
| 
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
