Helper class to calculate data rate.
More...
#include <dabc/statistic.h>
Helper class to calculate data rate.
Should not be mixed up with dabc::Parameter class, which could measure data rate as well
Definition at line 79 of file statistic.h.
◆ Ratemeter()
dabc::Ratemeter::Ratemeter |
( |
| ) |
|
◆ ~Ratemeter()
dabc::Ratemeter::~Ratemeter |
( |
| ) |
|
|
virtual |
◆ DoMeasure()
void dabc::Ratemeter::DoMeasure |
( |
double |
interval_sec, |
|
|
long |
npoints, |
|
|
double |
firsttm = 0. |
|
) |
| |
◆ Packet()
void dabc::Ratemeter::Packet |
( |
int |
size, |
|
|
double |
tm = 0. |
|
) |
| |
◆ Reset()
void dabc::Ratemeter::Reset |
( |
| ) |
|
◆ GetRate()
double dabc::Ratemeter::GetRate |
( |
| ) |
|
◆ GetTotalTime()
double dabc::Ratemeter::GetTotalTime |
( |
| ) |
|
◆ AverPacketSize()
int dabc::Ratemeter::AverPacketSize |
( |
| ) |
|
◆ GetNumOper()
int dabc::Ratemeter::GetNumOper |
( |
| ) |
const |
|
inline |
◆ SaveInFile()
void dabc::Ratemeter::SaveInFile |
( |
const char * |
fname | ) |
|
◆ SaveRatesInFile()
void dabc::Ratemeter::SaveRatesInFile |
( |
const char * |
fname, |
|
|
Ratemeter ** |
rates, |
|
|
int |
nrates, |
|
|
bool |
withsum = false |
|
) |
| |
|
static |
◆ firstoper
double dabc::Ratemeter::firstoper |
|
protected |
◆ lastoper
double dabc::Ratemeter::lastoper |
|
protected |
◆ numoper
int64_t dabc::Ratemeter::numoper |
|
protected |
◆ totalpacketsize
int64_t dabc::Ratemeter::totalpacketsize |
|
protected |
◆ fMeasureInterval
double dabc::Ratemeter::fMeasureInterval |
|
protected |
◆ fMeasurePoints
long dabc::Ratemeter::fMeasurePoints |
|
protected |
◆ fPoints
double* dabc::Ratemeter::fPoints |
|
protected |
The documentation for this class was generated from the following files: