Add --max-run-time option and fix bug in LogSocketRates

This commit is contained in:
Alexey Rybalchenko
2019-02-21 13:40:48 +01:00
committed by Dennis Klein
parent b7125b746e
commit 8375faf835
3 changed files with 57 additions and 62 deletions

View File

@@ -559,6 +559,7 @@ class FairMQDevice
const fair::mq::tools::Version fVersion;
float fRate; ///< Rate limiting for ConditionalRun
uint64_t fMaxRunRuntimeInS; ///< Maximum runtime for the Running state handler, after which state will change to Ready (in seconds, 0 for no limit).
std::vector<std::string> fRawCmdLineArgs;
std::queue<fair::mq::State> fStates;