#include <Stats.h>
Inheritance diagram for ACE_Throughput_Stats:
Public Methods | |
ACE_Throughput_Stats (void) | |
Constructor. | |
void | sample (ACE_UINT64 throughput, ACE_UINT64 latency) |
Store one sample. | |
void | accumulate (const ACE_Throughput_Stats &throughput) |
Update the values to reflect the stats in throughput. | |
void | dump_results (const ACE_TCHAR *msg, ACE_UINT32 scale_factor) |
Print down the stats. | |
Static Public Methods | |
void | dump_throughput (const ACE_TCHAR *msg, ACE_UINT32 scale_factor, ACE_UINT64 elapsed_time, ACE_UINT32 samples_count) |
Dump the average throughput stats. | |
Private Attributes | |
ACE_UINT64 | throughput_last_ |
The last throughput measurement. |
Keep the relevant information to perform throughput and latency analysis, including:
|
Constructor.
|
|
Update the values to reflect the stats in throughput.
|
|
Print down the stats.
|
|
Dump the average throughput stats.
|
|
Store one sample.
|
|
The last throughput measurement.
|