mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
Adding rate control for ConditionalRun function
Devices implementing the conditional run method are typically source devices and a rate control can be desireable. New option '--rate' with a float number argument in Hz can be used to configure rate control. By default it is switched off.
This commit is contained in:
committed by
Mohammad Al-Turany
parent
7429f7a326
commit
9b2b1cf9f1
@@ -535,6 +535,8 @@ class FairMQDevice : public FairMQStateMachine
|
||||
bool fExternalConfig;
|
||||
|
||||
const fair::mq::tools::Version fVersion;
|
||||
float fRate;
|
||||
size_t fLastTime;
|
||||
};
|
||||
|
||||
#endif /* FAIRMQDEVICE_H_ */
|
||||
|
Reference in New Issue
Block a user