15 #include <unordered_set> 24 bool useSource =
true,
25 bool useDefinition =
true);
35 dp->updateDefinition(dpath);
43 unsigned int*
nBins =
nullptr);
50 std::vector<unsigned int>*
inputs,
52 unsigned int*
nBins =
nullptr);
60 std::vector<AtomicMonUInt*>*
inputs,
62 unsigned int*
nBins =
nullptr);
65 void commit(std::vector<unsigned int>* streamLumisPtr);
68 void snap(
unsigned int ls);
123 std::unordered_set<std::string>
uids_;
void registerFastGlobalMonitorable(JsonMonitorable *newMonitorable)
void addFastPathDefinition(std::string const &defPathFast, std::string const defGroupFast, bool strict)
void setDefPath(std::string const &dpath)
void registerStreamMonitorableUIntVecAtomic(std::string const &name, std::vector< AtomicMonUInt *> *inputs, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
DataPointDefinition const * dpd_
void snapStreamAtomic(unsigned int ls, unsigned int streamID)
std::vector< DataPoint * > dataPointsFastOnly_
std::vector< DataPoint * > orphanedDps_
FastMonitor(std::string const &defPath, std::string const defGroup, bool strictChecking, bool useSource=true, bool useDefinition=true)
void registerGlobalMonitorable(JsonMonitorable *newMonitorable, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
std::vector< unsigned int > jsonDpIndex_
unsigned int recentSnaps_
std::vector< DataPoint * > dataPoints_
void registerStreamMonitorableUIntVec(std::string const &name, std::vector< unsigned int > *inputs, bool NAifZeroUpdates, unsigned int *nBins=nullptr)
std::map< std::string, unsigned int > dpNameMap_
std::unordered_set< std::string > uids_
void outputCSV(std::string const &path, std::vector< std::string > const &csvString)
void commit(std::vector< unsigned int > *streamLumisPtr)
std::string getCSVString(int sid=-1)
bool outputFullJSON(std::string const &path, unsigned int lumi, bool output=true)
std::vector< DataPoint * > jsonDpIndexFast_
DataPointDefinition const * dpdFast_
void snap(unsigned int ls)
unsigned int fregDpCount_
bool fastPathStrictChecking_
JsonMonitorable * getMergedIntJForLumi(std::string const &name, unsigned int forLumi)
unsigned int recentSnapsTimer_
void getHostAndPID(std::string &sHPid)
JSON (JavaScript Object Notation).
void setNStreams(unsigned int nStreams)
void discardCollected(unsigned int forLumi)
void snapGlobal(unsigned int ls)