Public Member Functions | |
double | average () const |
RTLoopHistory (unsigned length, double default_value) | |
void | sample (double value) |
~RTLoopHistory () | |
Protected Attributes | |
double * | history_ |
unsigned | index_ |
unsigned | length_ |
RTLoopHistory::RTLoopHistory | ( | unsigned | length, |
double | default_value | ||
) | [inline] |
RTLoopHistory::~RTLoopHistory | ( | ) | [inline] |
double RTLoopHistory::average | ( | ) | const [inline] |
void RTLoopHistory::sample | ( | double | value | ) | [inline] |
double* RTLoopHistory::history_ [protected] |
unsigned RTLoopHistory::index_ [protected] |
unsigned RTLoopHistory::length_ [protected] |