#include <DataPoint.h>
|
| DataPoint () |
|
| DataPoint (std::string const &source, std::string const &definition, bool fast=false) |
|
virtual void | deserialize (Json::Value &root) |
|
void | discardCollected (unsigned int forLumi) |
|
std::string | fastOutCSV (int sid=-1) |
|
std::vector< std::string > & | getData () |
|
std::string & | getDefinition () |
|
std::string const & | getName () |
|
void | makeStreamLumiMap (unsigned int size) |
|
JsonMonitorable * | mergeAndRetrieveValue (unsigned int forLumi) |
|
void | mergeAndSerialize (Json::Value &jsonRoot, unsigned int lumi, bool initJsonValue, int sid) |
|
virtual void | serialize (Json::Value &root) const |
|
void | serialize (Json::Value &root, bool rootInit, std::string const &input) const |
|
void | setNBins (unsigned int *nBins) |
|
void | setOperation (OperationType op) |
|
void | setStreamLumiPtr (std::vector< unsigned int > *streamLumiPtr) |
|
void | snap (unsigned int lumi) |
|
void | snapGlobal (unsigned int lumi) |
|
void | snapStreamAtomic (unsigned int lumi, unsigned int streamID) |
|
void | trackDummy (std::string const &name, bool setNAifZeroUpdates) |
|
void | trackMonitorable (JsonMonitorable *monitorable, bool NAifZeroUpdates) |
|
void | trackVectorUInt (std::string const &name, std::vector< unsigned int > *monvec, bool NAifZeroUpdates) |
|
void | trackVectorUIntAtomic (std::string const &name, std::vector< AtomicMonUInt * > *monvec, bool NAifZeroUpdates) |
|
void | updateDefinition (std::string const &definition) |
|
| ~DataPoint () |
|
virtual | ~JsonSerializable () |
|
|
static const std::string | DATA = "data" |
|
static const std::string | DEFINITION = "definition" |
|
static const std::string | SOURCE = "source" |
|
Definition at line 36 of file DataPoint.h.
jsoncollector::DataPoint::DataPoint |
( |
| ) |
|
|
inline |
jsoncollector::DataPoint::DataPoint |
( |
std::string const & |
source, |
|
|
std::string const & |
definition, |
|
|
bool |
fast = false |
|
) |
| |
|
inline |
Definition at line 42 of file DataPoint.h.
static std::string const source
DataPoint::~DataPoint |
( |
| ) |
|
void DataPoint::discardCollected |
( |
unsigned int |
forLumi | ) |
|
std::string DataPoint::fastOutCSV |
( |
int |
sid = -1 | ) |
|
std::vector<std::string>& jsoncollector::DataPoint::getData |
( |
void |
| ) |
|
|
inline |
Definition at line 58 of file DataPoint.h.
References data_.
std::vector< std::string > data_
std::string& jsoncollector::DataPoint::getDefinition |
( |
| ) |
|
|
inline |
std::string const& jsoncollector::DataPoint::getName |
( |
void |
| ) |
|
|
inline |
void DataPoint::makeStreamLumiMap |
( |
unsigned int |
size | ) |
|
void DataPoint::mergeAndSerialize |
( |
Json::Value & |
jsonRoot, |
|
|
unsigned int |
lumi, |
|
|
bool |
initJsonValue, |
|
|
int |
sid |
|
) |
| |
void DataPoint::serialize |
( |
Json::Value & |
root, |
|
|
bool |
rootInit, |
|
|
std::string const & |
input |
|
) |
| const |
Functions specific to new monitoring implementation
Definition at line 114 of file DataPoint.cc.
void jsoncollector::DataPoint::setNBins |
( |
unsigned int * |
nBins | ) |
|
|
inline |
void jsoncollector::DataPoint::setStreamLumiPtr |
( |
std::vector< unsigned int > * |
streamLumiPtr | ) |
|
|
inline |
void DataPoint::snap |
( |
unsigned int |
lumi | ) |
|
void DataPoint::snapGlobal |
( |
unsigned int |
lumi | ) |
|
void DataPoint::snapStreamAtomic |
( |
unsigned int |
lumi, |
|
|
unsigned int |
streamID |
|
) |
| |
void jsoncollector::DataPoint::trackDummy |
( |
std::string const & |
name, |
|
|
bool |
setNAifZeroUpdates |
|
) |
| |
|
inline |
void DataPoint::trackMonitorable |
( |
JsonMonitorable * |
monitorable, |
|
|
bool |
NAifZeroUpdates |
|
) |
| |
void DataPoint::trackVectorUInt |
( |
std::string const & |
name, |
|
|
std::vector< unsigned int > * |
monvec, |
|
|
bool |
NAifZeroUpdates |
|
) |
| |
void DataPoint::trackVectorUIntAtomic |
( |
std::string const & |
name, |
|
|
std::vector< AtomicMonUInt * > * |
monvec, |
|
|
bool |
NAifZeroUpdates |
|
) |
| |
void jsoncollector::DataPoint::updateDefinition |
( |
std::string const & |
definition | ) |
|
|
inline |
uint32_t* jsoncollector::DataPoint::buf_ = nullptr |
|
protected |
unsigned int jsoncollector::DataPoint::bufLen_ =0 |
|
protected |
int jsoncollector::DataPoint::cacheI_ |
|
protected |
const std::string DataPoint::DATA = "data" |
|
static |
std::vector<std::string> jsoncollector::DataPoint::data_ |
|
protected |
const std::string DataPoint::DEFINITION = "definition" |
|
static |
std::string jsoncollector::DataPoint::definition_ |
|
protected |
unsigned int jsoncollector::DataPoint::fastIndex_ = 0 |
|
protected |
MonPtrMap jsoncollector::DataPoint::globalDataMap_ |
|
protected |
bool jsoncollector::DataPoint::isAtomic_ = false |
|
protected |
bool jsoncollector::DataPoint::isCached_ =0 |
|
protected |
bool jsoncollector::DataPoint::isDummy_ = false |
|
protected |
bool jsoncollector::DataPoint::isFastOnly_ |
|
protected |
bool jsoncollector::DataPoint::isStream_ = false |
|
protected |
MonType jsoncollector::DataPoint::monType_ |
|
protected |
bool jsoncollector::DataPoint::NAifZeroUpdates_ = false |
|
protected |
std::string jsoncollector::DataPoint::name_ |
|
protected |
unsigned int* jsoncollector::DataPoint::nBinsPtr_ = nullptr |
|
protected |
const std::string DataPoint::SOURCE = "source" |
|
static |
std::string jsoncollector::DataPoint::source_ |
|
protected |
std::vector<MonPtrMap> jsoncollector::DataPoint::streamDataMaps_ |
|
protected |
std::vector<unsigned int>* jsoncollector::DataPoint::streamLumisPtr_ = nullptr |
|
protected |
void* jsoncollector::DataPoint::tracked_ = nullptr |
|
protected |