#include <CPUStat.h>
Public Member Functions | |
void | addEntry (int sta) |
CPUStat (unsigned int nstates, unsigned int nproc, unsigned int instance, std::string iDieUrl) | |
std::string & | getChart () |
void | printStat () |
void | reset () |
void | sendLegenda (const std::vector< std::string > &) |
void | sendStat (unsigned int) |
void | setCPUStat (int busyPer1k) |
void | setElapsed (int mseconds) |
void | setNproc (int nproc) |
~CPUStat () | |
Private Attributes | |
AsciiRollingChart | chart_ |
int | entries_ |
std::string | iDieUrl_ |
int | instance_ |
int * | mstat_ |
int | nproc_ |
int | nstates_ |
CurlPoster * | poster_ |
evf::CPUStat::CPUStat | ( | unsigned int | nstates, |
unsigned int | nproc, | ||
unsigned int | instance, | ||
std::string | iDieUrl | ||
) |
evf::CPUStat::~CPUStat | ( | ) |
|
inline |
Definition at line 17 of file CPUStat.h.
References entries_, and mstat_.
Referenced by evf::FUEventProcessor::supervisor().
|
inline |
Definition at line 43 of file CPUStat.h.
References chart_, and evf::AsciiRollingChart::draw().
Referenced by evf::FUEventProcessor::updater().
|
inline |
|
inline |
void evf::CPUStat::sendLegenda | ( | const std::vector< std::string > & | mapmod | ) |
Definition at line 39 of file CPUStat.cc.
References i, evf::CurlPoster::leg, python.rootplot.argparse::message, poster_, and evf::CurlPoster::postString().
Referenced by evf::FUEventProcessor::configuring(), and evf::FUEventProcessor::enabling().
void evf::CPUStat::sendStat | ( | unsigned int | lsid | ) |
Definition at line 33 of file CPUStat.cc.
References chart_, entries_, evf::AsciiRollingChart::flip(), mstat_, nstates_, evf::CurlPoster::postBinary(), and poster_.
Referenced by evf::FUEventProcessor::summarize().
|
inline |
Definition at line 25 of file CPUStat.h.
References mstat_, and nstates_.
Referenced by evf::FUEventProcessor::summarize().
|
inline |
Definition at line 28 of file CPUStat.h.
References mstat_, and nstates_.
Referenced by evf::FUEventProcessor::summarize().
|
inline |
Definition at line 22 of file CPUStat.h.
References mstat_, errorMatrix2Lands::nproc, and nstates_.
Referenced by evf::FUEventProcessor::summarize().
|
private |
Definition at line 54 of file CPUStat.h.
Referenced by getChart(), and sendStat().
|
private |
Definition at line 52 of file CPUStat.h.
Referenced by addEntry(), printStat(), reset(), and sendStat().
|
private |
|
private |
|
private |
Definition at line 53 of file CPUStat.h.
Referenced by addEntry(), CPUStat(), printStat(), reset(), sendStat(), setCPUStat(), setElapsed(), setNproc(), and ~CPUStat().
|
private |
Definition at line 49 of file CPUStat.h.
Referenced by CPUStat(), printStat(), reset(), sendStat(), setCPUStat(), setElapsed(), and setNproc().
|
private |
Definition at line 48 of file CPUStat.h.
Referenced by CPUStat(), sendLegenda(), sendStat(), and ~CPUStat().