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