ACE_Basic_Stats Class ReferenceCollect basic stats about a series of samples. More...
Inheritance diagram for ACE_Basic_Stats:
Detailed DescriptionCollect basic stats about a series of samples.Compute the average and standard deviation (aka jitter) for an arbitrary number of samples, using constant space. Normally used for latency statistics. Constructor & Destructor Documentation
Constructor. The number of samples is pre-allocated, and cannot changes once the class is initialized.
Member Function Documentation
The number of samples received so far.
Record one sample.
Update the values to reflect the stats in rhs.
Dump all the samples. Prints out the results, using msg as a prefix for each message and scaling all the numbers by scale_factor. The latter is useful because high resolution timer samples are acquired in clock ticks, but often presented in microseconds.
Member Data Documentation
The number of samples.
The minimum value.
The number of the sample that had the minimum value.
The maximum value.
The number of the sample that had the maximum value.
The sum of all the values.
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:14:20 2008 for ACE by 1.5.5 |