#include <AsciiRollingChart.h>
Public Member Functions | |
AsciiRollingChart (std::string title, int nbins) | |
std::string & | draw () |
void | flip (unsigned int ind, float x) |
Private Attributes | |
AsciiHisto | h_ |
std::deque< float > | roll_ |
Definition at line 11 of file AsciiRollingChart.h.
evf::AsciiRollingChart::AsciiRollingChart | ( | std::string | title, |
int | nbins | ||
) | [inline] |
std::string& evf::AsciiRollingChart::draw | ( | ) | [inline] |
Definition at line 28 of file AsciiRollingChart.h.
References evf::AsciiHisto::draw(), and h_.
Referenced by evf::CPUStat::getChart().
{return h_.draw();}
void evf::AsciiRollingChart::flip | ( | unsigned int | ind, |
float | x | ||
) | [inline] |
Definition at line 18 of file AsciiRollingChart.h.
References evf::AsciiHisto::fillDeque(), h_, i, and roll_.
Referenced by evf::CPUStat::sendStat().
AsciiHisto evf::AsciiRollingChart::h_ [private] |
Definition at line 31 of file AsciiRollingChart.h.
std::deque<float> evf::AsciiRollingChart::roll_ [private] |
Definition at line 32 of file AsciiRollingChart.h.
Referenced by flip().