CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
jsoncollector::FastMonitor Class Reference

#include <FastMonitor.h>

Public Member Functions

void addFastPathDefinition (std::string const &defPathFast, std::string const defGroupFast, bool strict)
 
void commit (std::vector< unsigned int > *streamLumisPtr)
 
void discardCollected (unsigned int forLumi)
 
 FastMonitor (std::string const &defPath, std::string const defGroup, bool strictChecking, bool useSource=true, bool useDefinition=true)
 
 FastMonitor (DataPointDefinition *dpd, bool strictChecking, bool useSource=true, bool useDefinition=true)
 
std::string getCSVString ()
 
void getHostAndPID (std::string &sHPid)
 
JsonMonitorablegetMergedIntJForLumi (std::string const &name, unsigned int forLumi)
 
void outputCSV (std::string const &path, std::string const &csvString)
 
bool outputFullJSON (std::string const &path, unsigned int lumi, bool log=true)
 
void registerFastGlobalMonitorable (JsonMonitorable *newMonitorable)
 
void registerGlobalMonitorable (JsonMonitorable *newMonitorable, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
 
void registerStreamMonitorableUIntVec (std::string const &name, std::vector< unsigned int > *inputs, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
 
void registerStreamMonitorableUIntVecAtomic (std::string const &name, std::vector< AtomicMonUInt * > *inputs, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
 
void setDefPath (std::string const &dpath)
 
void setNStreams (unsigned int nStreams)
 
void snap (unsigned int ls)
 
void snapGlobal (unsigned int ls)
 
void snapStreamAtomic (unsigned int ls, unsigned int streamID)
 
virtual ~FastMonitor ()
 

Private Attributes

std::vector< DataPoint * > dataPoints_
 
std::vector< DataPoint * > dataPointsFastOnly_
 
std::string defPath_
 
std::string defPathFast_
 
bool deleteDef_ =false
 
bool deleteDefFast_ =false
 
DataPointDefinitiondpd_
 
DataPointDefinitiondpdFast_
 
std::map< std::string,
unsigned int > 
dpNameMap_
 
bool fastPathStrictChecking_
 
unsigned int fregDpCount_ = 0
 
bool haveFastPath_ =false
 
std::vector< unsigned int > jsonDpIndex_
 
std::vector< DataPoint * > jsonDpIndexFast_
 
unsigned int nStreams_
 
std::vector< DataPoint * > orphanedDps_
 
unsigned int recentSnaps_ = 0
 
unsigned int recentSnapsTimer_ = 0
 
unsigned int regDpCount_ = 0
 
std::string sourceInfo_
 
bool strictChecking_
 
std::unordered_set< std::string > uids_
 
bool useDefinition_
 
bool useSource_
 

Detailed Description

Definition at line 19 of file FastMonitor.h.

Constructor & Destructor Documentation

FastMonitor::FastMonitor ( std::string const &  defPath,
std::string const  defGroup,
bool  strictChecking,
bool  useSource = true,
bool  useDefinition = true 
)

Definition at line 22 of file FastMonitor.cc.

References defPath_, dpd_, jsoncollector::DataPointDefinition::getDataPointDefinitionFor(), getHostAndPID(), and sourceInfo_.

22  :
23  defPath_(defPath),strictChecking_(strictChecking),useSource_(useSource),useDefinition_(useDefinition),nStreams_(1),deleteDef_(true)
24 {
25  //get host and PID info
26  if (useSource)
28 
29  //load definition file
30  dpd_ = new DataPointDefinition();
32 
33 }
static bool getDataPointDefinitionFor(std::string &defFilePath, DataPointDefinition *dpd, const std::string *defaultGroup=nullptr)
DataPointDefinition * dpd_
Definition: FastMonitor.h:95
void getHostAndPID(std::string &sHPid)
Definition: FastMonitor.cc:273
FastMonitor::FastMonitor ( DataPointDefinition dpd,
bool  strictChecking,
bool  useSource = true,
bool  useDefinition = true 
)

Definition at line 36 of file FastMonitor.cc.

References getHostAndPID(), and sourceInfo_.

36  :
37  strictChecking_(strictChecking),useSource_(useSource),useDefinition_(useDefinition),nStreams_(1),dpd_(dpd)
38 {
39  //get host and PID info
40  if (useSource)
42 }
DataPointDefinition * dpd_
Definition: FastMonitor.h:95
void getHostAndPID(std::string &sHPid)
Definition: FastMonitor.cc:273
FastMonitor::~FastMonitor ( )
virtual

Definition at line 44 of file FastMonitor.cc.

References dataPoints_, deleteDef_, deleteDefFast_, reco::dp, dpd_, and dpdFast_.

45 {
46  for (auto dp: dataPoints_) delete dp;
47  if (deleteDef_) delete dpd_;
48  if (deleteDefFast_) delete dpdFast_;
49 }
DataPointDefinition * dpdFast_
Definition: FastMonitor.h:96
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
auto dp
Definition: deltaR.h:24
DataPointDefinition * dpd_
Definition: FastMonitor.h:95

Member Function Documentation

void FastMonitor::addFastPathDefinition ( std::string const &  defPathFast,
std::string const  defGroupFast,
bool  strict 
)

Definition at line 51 of file FastMonitor.cc.

References defPathFast_, deleteDefFast_, dpdFast_, fastPathStrictChecking_, jsoncollector::DataPointDefinition::getDataPointDefinitionFor(), and haveFastPath_.

52 {
53  haveFastPath_=true;
54  defPathFast_=defPathFast;
58  deleteDefFast_=true;
59 }
DataPointDefinition * dpdFast_
Definition: FastMonitor.h:96
static bool getDataPointDefinitionFor(std::string &defFilePath, DataPointDefinition *dpd, const std::string *defaultGroup=nullptr)
void FastMonitor::commit ( std::vector< unsigned int > *  streamLumisPtr)

Definition at line 109 of file FastMonitor.cc.

References dataPoints_, dataPointsFastOnly_, defPath_, defPathFast_, dpd_, dpdFast_, fastPathStrictChecking_, fregDpCount_, jsoncollector::DataPointDefinition::getNames(), jsoncollector::DataPointDefinition::getOperationFor(), haveFastPath_, i, j, jsonDpIndex_, jsonDpIndexFast_, regDpCount_, sourceInfo_, strictChecking_, and jsoncollector::DataPoint::trackDummy().

Referenced by RawEventFileWriterForBU::RawEventFileWriterForBU(), and evf::FastMonitoringThread::MonitorData::registerVariables().

110 {
111  std::vector<std::string> const& jsonNames= dpd_->getNames();
112  regDpCount_ = dataPoints_.size();
113  if (strictChecking_)
114  assert(jsonNames.size()==regDpCount_);
115 
116  std::map<unsigned int,bool> hasJson;
117  for (unsigned int i=0;i<jsonNames.size();i++)
118  {
119  bool notFoundVar=true;
120  for (unsigned int j=0;j<regDpCount_;j++) {
121  if (dataPoints_[j]->getName()==jsonNames[i])
122  {
123  dataPoints_[j]->setOperation(dpd_->getOperationFor(i));
124  jsonDpIndex_.push_back(j);
125  hasJson[j]=true;
126  notFoundVar=false;
127  break;
128  }
129  }
130  if (notFoundVar) {
131  assert(!strictChecking_);
132  //push dummy DP if not registered by the service so that we output required JSON/CSV
133  DataPoint *dummyDp = new DataPoint(sourceInfo_,defPath_);
134  dummyDp->trackDummy(jsonNames[i],true);
135  dataPoints_.push_back(dummyDp);
136  jsonDpIndex_.push_back(dataPoints_.size()-1);
137  }
138  }
139  for (unsigned int i=0;i<regDpCount_;i++) {
140  dataPoints_[i]->setStreamLumiPtr(streamLumisPtr);
141  }
142 
143  //fast path:
144  if (haveFastPath_) {
145  std::vector<std::string> const& fjsonNames = dpdFast_->getNames();
147  assert(!(fastPathStrictChecking_ && fjsonNames.size()==fregDpCount_));
148  std::map<unsigned int,bool> fhasJson;
149  for (unsigned int i=0;i<fjsonNames.size();i++)
150  {
151  bool notFoundVar=true;
152  for (unsigned int j=0;j<fregDpCount_;j++) {
153  if (dataPointsFastOnly_[j]->getName()==fjsonNames[i])
154  {
156  fhasJson[j]=true;
157  notFoundVar=false;
158  break;
159  }
160  }
161  if (notFoundVar)
162  {
163  //try to find variable among slow variables
164 
165  bool notFoundVarSlow=true;
166  for (unsigned int j=0;j<regDpCount_;j++) {
167  if (dataPoints_[j]->getName()==fjsonNames[i])
168  {
169  jsonDpIndexFast_.push_back(dataPoints_[j]);
170  //fhasJson[j]=true;
171  notFoundVarSlow=false;
172  break;
173  }
174  }
175 
176  assert(!(fastPathStrictChecking_ && !notFoundVarSlow));
177  //push dummy DP if not registered by the service so that we output required JSON/CSV
178  if (notFoundVarSlow) {
180  dummyDp->trackDummy(fjsonNames[i],true);
181  dataPointsFastOnly_.push_back(dummyDp);
182  jsonDpIndexFast_.push_back(dummyDp);
183  }
184  }
185  }
186  }
187 }
int i
Definition: DBlmapReader.cc:9
DataPointDefinition * dpdFast_
Definition: FastMonitor.h:96
OperationType getOperationFor(unsigned int index)
void trackDummy(std::string const &name, bool setNAifZeroUpdates)
Definition: DataPoint.h:81
std::vector< DataPoint * > dataPointsFastOnly_
Definition: FastMonitor.h:101
std::vector< unsigned int > jsonDpIndex_
Definition: FastMonitor.h:102
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
int j
Definition: DBlmapReader.cc:9
std::vector< DataPoint * > jsonDpIndexFast_
Definition: FastMonitor.h:103
DataPointDefinition * dpd_
Definition: FastMonitor.h:95
std::vector< std::string > const & getNames()
void FastMonitor::discardCollected ( unsigned int  forLumi)

Definition at line 268 of file FastMonitor.cc.

References dataPoints_, and reco::dp.

Referenced by RawEventFileWriterForBU::endOfLS(), and RawEventFileWriterForBU::finishFileWrite().

269 {
270  for (auto dp: dataPoints_) dp->discardCollected(forLumi);
271 }
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
auto dp
Definition: deltaR.h:24
std::string FastMonitor::getCSVString ( )

Definition at line 217 of file FastMonitor.cc.

References j, jsonDpIndexFast_, and contentValuesCheck::ss.

218 {
219  //output what was specified in JSON in the same order (including dummies)
220  unsigned int monSize = jsonDpIndexFast_.size();
221  std::stringstream ss;
222  if (monSize) {
223  for (unsigned int j=0; j< monSize;j++) {
224  ss << jsonDpIndexFast_[j]->fastOutCSV();
225  if (j<monSize-1) ss << ",";
226  }
227  }
228  return ss.str();
229 }
int j
Definition: DBlmapReader.cc:9
std::vector< DataPoint * > jsonDpIndexFast_
Definition: FastMonitor.h:103
void FastMonitor::getHostAndPID ( std::string &  sHPid)

Definition at line 273 of file FastMonitor.cc.

References sysUtil::pid.

Referenced by FastMonitor().

274 {
275  std::stringstream hpid;
276  int pid = (int) getpid();
277  char hostname[128];
278  gethostname(hostname, sizeof hostname);
279  hpid << hostname << "_" << pid;
280  sHPid = hpid.str();
281 }
tuple pid
Definition: sysUtil.py:22
JsonMonitorable * FastMonitor::getMergedIntJForLumi ( std::string const &  name,
unsigned int  forLumi 
)

Definition at line 242 of file FastMonitor.cc.

References dataPoints_, and dpNameMap_.

243 {
244  auto it = dpNameMap_.find(name);
245  assert(it!=dpNameMap_.end());
246  return dataPoints_[it->second]->mergeAndRetrieveValue(forLumi);
247 }
std::map< std::string, unsigned int > dpNameMap_
Definition: FastMonitor.h:105
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
void FastMonitor::outputCSV ( std::string const &  path,
std::string const &  csvString 
)

Definition at line 231 of file FastMonitor.cc.

References defPathFast_, dbtoconf::out, download_sqlite_cfg::outputFile, and estimatePileup_makeJSON::trunc.

232 {
233  std::ofstream outputFile;
234  outputFile.open(path.c_str(), std::fstream::out | std::fstream::trunc);
235  outputFile << defPathFast_ << std::endl;
236  outputFile << csvString << std::endl;
237  outputFile.close();
238 }
tuple path
else: Piece not in the list, fine.
tuple out
Definition: dbtoconf.py:99
bool FastMonitor::outputFullJSON ( std::string const &  path,
unsigned int  lumi,
bool  log = true 
)

Definition at line 249 of file FastMonitor.cc.

References dataPoints_, j, jsonDpIndex_, LogDebug, recentSnaps_, recentSnapsTimer_, query::result, AlCaHLTBitMon_QueryRunRegistry::string, Json::StyledWriter::write(), and jsoncollector::FileIO::writeStringToFile().

Referenced by RawEventFileWriterForBU::endOfLS(), RawEventFileWriterForBU::finishFileWrite(), and RawEventFileWriterForBU::handler().

250 {
251  if (log)
252  LogDebug("FastMonitor") << "SNAP updates -: " << recentSnaps_ << " (by timer: " << recentSnapsTimer_
253  << ") in lumisection ";
254 
255  recentSnaps_ = recentSnapsTimer_ = 0;
256 
257  Json::Value serializeRoot;
258  for (unsigned int j=0; j< jsonDpIndex_.size();j++) {
259  dataPoints_[jsonDpIndex_[j]]->mergeAndSerialize(serializeRoot,lumi,j==0);
260  }
261 
262  Json::StyledWriter writer;
263  std::string && result = writer.write(serializeRoot);
265  return true;
266 }
#define LogDebug(id)
tuple lumi
Definition: fjr2json.py:35
Represents a JSON value.
Definition: value.h:111
std::vector< unsigned int > jsonDpIndex_
Definition: FastMonitor.h:102
tuple path
else: Piece not in the list, fine.
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
tuple result
Definition: query.py:137
int j
Definition: DBlmapReader.cc:9
static void writeStringToFile(std::string const &filename, std::string &content)
Definition: FileIO.cc:21
virtual std::string write(const Value &root)
Serialize a Value in JSON format.
unsigned int recentSnapsTimer_
Definition: FastMonitor.h:108
Writes a Value in JSON format in a human friendly way.
Definition: writer.h:65
void FastMonitor::registerFastGlobalMonitorable ( JsonMonitorable newMonitorable)

Definition at line 75 of file FastMonitor.cc.

References dataPointsFastOnly_, defPathFast_, reco::dp, sourceInfo_, and jsoncollector::DataPoint::trackMonitorable().

Referenced by evf::FastMonitoringThread::MonitorData::registerVariables().

76 {
78  dp->trackMonitorable(newMonitorable,false);
79  dataPointsFastOnly_.push_back(dp);
80 }
std::vector< DataPoint * > dataPointsFastOnly_
Definition: FastMonitor.h:101
void trackMonitorable(JsonMonitorable *monitorable, bool NAifZeroUpdates)
Definition: DataPoint.cc:74
auto dp
Definition: deltaR.h:24
void FastMonitor::registerGlobalMonitorable ( JsonMonitorable newMonitorable,
bool  NAifZeroUpdates,
unsigned int *  nBins = nullptr 
)

Definition at line 62 of file FastMonitor.cc.

References dataPoints_, defPath_, reco::dp, dpNameMap_, jsoncollector::JsonMonitorable::getName(), edm::second(), jsoncollector::DataPoint::setNBins(), sourceInfo_, jsoncollector::DataPoint::trackMonitorable(), and uids_.

Referenced by RawEventFileWriterForBU::RawEventFileWriterForBU(), and evf::FastMonitoringThread::MonitorData::registerVariables().

63 {
65  dp->trackMonitorable(newMonitorable,NAifZeroUpdates);
66  dp->setNBins(nBins);
67  dataPoints_.push_back(dp);
68  dpNameMap_[newMonitorable->getName()]=dataPoints_.size()-1;
69 
70  //checks if the same name is registered twice
71  assert(uids_.insert(newMonitorable->getName()).second);
72 }
void setNBins(unsigned int *nBins)
Definition: DataPoint.h:113
virtual std::string & getName()
std::map< std::string, unsigned int > dpNameMap_
Definition: FastMonitor.h:105
void trackMonitorable(JsonMonitorable *monitorable, bool NAifZeroUpdates)
Definition: DataPoint.cc:74
U second(std::pair< T, U > const &p)
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
std::unordered_set< std::string > uids_
Definition: FastMonitor.h:112
auto dp
Definition: deltaR.h:24
void FastMonitor::registerStreamMonitorableUIntVec ( std::string const &  name,
std::vector< unsigned int > *  inputs,
bool  NAifZeroUpdates,
unsigned int *  nBins = nullptr 
)

Definition at line 83 of file FastMonitor.cc.

References dataPoints_, defPath_, reco::dp, dpNameMap_, mergeVDriftHistosByStation::name, jsoncollector::DataPoint::setNBins(), sourceInfo_, jsoncollector::DataPoint::trackVectorUInt(), and uids_.

Referenced by evf::FastMonitoringThread::MonitorData::registerVariables().

84 {
86  dp->trackVectorUInt(name,inputs,NAifZeroUpdates);
87  dp->setNBins(nBins);
88  dataPoints_.push_back(dp);
89  dpNameMap_[name]=dataPoints_.size()-1;
90  assert (uids_.insert(name).second);
91 }
void setNBins(unsigned int *nBins)
Definition: DataPoint.h:113
void trackVectorUInt(std::string const &name, std::vector< unsigned int > *monvec, bool NAifZeroUpdates)
Definition: DataPoint.cc:86
std::map< std::string, unsigned int > dpNameMap_
Definition: FastMonitor.h:105
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
std::unordered_set< std::string > uids_
Definition: FastMonitor.h:112
auto dp
Definition: deltaR.h:24
void FastMonitor::registerStreamMonitorableUIntVecAtomic ( std::string const &  name,
std::vector< AtomicMonUInt * > *  inputs,
bool  NAifZeroUpdates,
unsigned int *  nBins = nullptr 
)

Definition at line 95 of file FastMonitor.cc.

References dataPoints_, defPath_, reco::dp, dpNameMap_, mergeVDriftHistosByStation::name, jsoncollector::DataPoint::setNBins(), sourceInfo_, AlCaHLTBitMon_QueryRunRegistry::string, jsoncollector::DataPoint::trackVectorUIntAtomic(), uids_, and useDefinition_.

Referenced by evf::FastMonitoringThread::MonitorData::registerVariables().

96 {
97  std::string definitionToPass;
98  if (useDefinition_) definitionToPass=defPath_;
99  DataPoint *dp = new DataPoint(definitionToPass,sourceInfo_);
100  dp->trackVectorUIntAtomic(name,inputs,NAifZeroUpdates);
101  dp->setNBins(nBins);
102  dataPoints_.push_back(dp);
103  dpNameMap_[name]=dataPoints_.size()-1;
104  assert (uids_.insert(name).second);
105 }
void setNBins(unsigned int *nBins)
Definition: DataPoint.h:113
std::map< std::string, unsigned int > dpNameMap_
Definition: FastMonitor.h:105
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
std::unordered_set< std::string > uids_
Definition: FastMonitor.h:112
void trackVectorUIntAtomic(std::string const &name, std::vector< AtomicMonUInt * > *monvec, bool NAifZeroUpdates)
Definition: DataPoint.cc:96
auto dp
Definition: deltaR.h:24
void jsoncollector::FastMonitor::setDefPath ( std::string const &  dpath)
inline

Definition at line 30 of file FastMonitor.h.

References dataPoints_, defPath_, and reco::dp.

Referenced by RawEventFileWriterForBU::writeJsds().

30 {defPath_=dpath;for (auto dp : dataPoints_) dp->updateDefinition(dpath);}
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
auto dp
Definition: deltaR.h:24
void jsoncollector::FastMonitor::setNStreams ( unsigned int  nStreams)
inline

Definition at line 32 of file FastMonitor.h.

References nStreams_.

32 {nStreams_=nStreams;}
void FastMonitor::snap ( unsigned int  ls)

Definition at line 190 of file FastMonitor.cc.

References dataPoints_, i, recentSnaps_, recentSnapsTimer_, and regDpCount_.

Referenced by RawEventFileWriterForBU::endOfLS(), RawEventFileWriterForBU::finishFileWrite(), and RawEventFileWriterForBU::handler().

191 {
192  recentSnaps_++;
194  for (unsigned int i=0;i<regDpCount_;i++) {
195  dataPoints_[i]->snap(ls);
196  }
197 }
int i
Definition: DBlmapReader.cc:9
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
unsigned int recentSnapsTimer_
Definition: FastMonitor.h:108
void FastMonitor::snapGlobal ( unsigned int  ls)

Definition at line 200 of file FastMonitor.cc.

References dataPoints_, i, recentSnaps_, and regDpCount_.

201 {
202  recentSnaps_++;
203  for (unsigned int i=0;i<regDpCount_;i++) {
204  dataPoints_[i]->snapGlobal(ls);
205  }
206 }
int i
Definition: DBlmapReader.cc:9
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100
void FastMonitor::snapStreamAtomic ( unsigned int  ls,
unsigned int  streamID 
)

Definition at line 209 of file FastMonitor.cc.

References dataPoints_, i, recentSnaps_, and regDpCount_.

210 {
211  recentSnaps_++;
212  for (unsigned int i=0;i<regDpCount_;i++) {
213  dataPoints_[i]->snapStreamAtomic(ls, streamID);
214  }
215 }
int i
Definition: DBlmapReader.cc:9
std::vector< DataPoint * > dataPoints_
Definition: FastMonitor.h:100

Member Data Documentation

std::vector<DataPoint*> jsoncollector::FastMonitor::dataPoints_
private
std::vector<DataPoint*> jsoncollector::FastMonitor::dataPointsFastOnly_
private

Definition at line 101 of file FastMonitor.h.

Referenced by commit(), and registerFastGlobalMonitorable().

std::string jsoncollector::FastMonitor::defPath_
private
std::string jsoncollector::FastMonitor::defPathFast_
private
bool jsoncollector::FastMonitor::deleteDef_ =false
private

Definition at line 97 of file FastMonitor.h.

Referenced by ~FastMonitor().

bool jsoncollector::FastMonitor::deleteDefFast_ =false
private

Definition at line 98 of file FastMonitor.h.

Referenced by addFastPathDefinition(), and ~FastMonitor().

DataPointDefinition* jsoncollector::FastMonitor::dpd_
private

Definition at line 95 of file FastMonitor.h.

Referenced by commit(), FastMonitor(), and ~FastMonitor().

DataPointDefinition* jsoncollector::FastMonitor::dpdFast_
private

Definition at line 96 of file FastMonitor.h.

Referenced by addFastPathDefinition(), commit(), and ~FastMonitor().

std::map<std::string,unsigned int> jsoncollector::FastMonitor::dpNameMap_
private
bool jsoncollector::FastMonitor::fastPathStrictChecking_
private

Definition at line 87 of file FastMonitor.h.

Referenced by addFastPathDefinition(), and commit().

unsigned int jsoncollector::FastMonitor::fregDpCount_ = 0
private

Definition at line 110 of file FastMonitor.h.

Referenced by commit().

bool jsoncollector::FastMonitor::haveFastPath_ =false
private

Definition at line 90 of file FastMonitor.h.

Referenced by addFastPathDefinition(), and commit().

std::vector<unsigned int> jsoncollector::FastMonitor::jsonDpIndex_
private

Definition at line 102 of file FastMonitor.h.

Referenced by commit(), and outputFullJSON().

std::vector<DataPoint*> jsoncollector::FastMonitor::jsonDpIndexFast_
private

Definition at line 103 of file FastMonitor.h.

Referenced by commit(), and getCSVString().

unsigned int jsoncollector::FastMonitor::nStreams_
private

Definition at line 92 of file FastMonitor.h.

Referenced by setNStreams().

std::vector<DataPoint*> jsoncollector::FastMonitor::orphanedDps_
private

Definition at line 104 of file FastMonitor.h.

unsigned int jsoncollector::FastMonitor::recentSnaps_ = 0
private

Definition at line 107 of file FastMonitor.h.

Referenced by outputFullJSON(), snap(), snapGlobal(), and snapStreamAtomic().

unsigned int jsoncollector::FastMonitor::recentSnapsTimer_ = 0
private

Definition at line 108 of file FastMonitor.h.

Referenced by outputFullJSON(), and snap().

unsigned int jsoncollector::FastMonitor::regDpCount_ = 0
private

Definition at line 109 of file FastMonitor.h.

Referenced by commit(), snap(), snapGlobal(), and snapStreamAtomic().

std::string jsoncollector::FastMonitor::sourceInfo_
private
bool jsoncollector::FastMonitor::strictChecking_
private

Definition at line 86 of file FastMonitor.h.

Referenced by commit().

std::unordered_set<std::string> jsoncollector::FastMonitor::uids_
private
bool jsoncollector::FastMonitor::useDefinition_
private

Definition at line 89 of file FastMonitor.h.

Referenced by registerStreamMonitorableUIntVecAtomic().

bool jsoncollector::FastMonitor::useSource_
private

Definition at line 88 of file FastMonitor.h.