#include <CPUStat.h>
Public Member Functions | |
void | addEntry (int sta) |
CPUStat (unsigned int nstates, std::string iDieUrl) | |
void | printStat () |
void | reset () |
void | sendLegenda (const std::vector< std::string > &) |
void | sendStat (unsigned int) |
~CPUStat () | |
Private Attributes | |
int | entries_ |
std::string | iDieUrl_ |
int * | mstat_ |
int | nstates_ |
CurlPoster * | poster_ |
evf::CPUStat::CPUStat | ( | unsigned int | nstates, |
std::string | iDieUrl | ||
) |
evf::CPUStat::~CPUStat | ( | ) |
|
inline |
Definition at line 16 of file CPUStat.h.
References entries_, and mstat_.
Referenced by evf::FUEventProcessor::supervisor().
|
inline |
|
inline |
void evf::CPUStat::sendLegenda | ( | const std::vector< std::string > & | mapmod | ) |
Definition at line 26 of file CPUStat.cc.
References i, evf::CurlPoster::leg, 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 21 of file CPUStat.cc.
References mstat_, nstates_, evf::CurlPoster::postBinary(), and poster_.
Referenced by evf::FUEventProcessor::summarize().
|
private |
Definition at line 39 of file CPUStat.h.
Referenced by addEntry(), printStat(), and reset().
|
private |
|
private |
Definition at line 40 of file CPUStat.h.
Referenced by addEntry(), CPUStat(), printStat(), reset(), sendStat(), and ~CPUStat().
|
private |
Definition at line 38 of file CPUStat.h.
Referenced by CPUStat(), printStat(), reset(), and sendStat().
|
private |
Definition at line 37 of file CPUStat.h.
Referenced by CPUStat(), sendLegenda(), sendStat(), and ~CPUStat().