mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 10:01:47 +00:00
merge the trunk with the development of ZeroMQ branch
git-svn-id: https://subversion.gsi.de/fairroot/fairbase/trunk@22451 0381ead4-6506-0410-b988-94b70fbc4730
This commit is contained in:
@@ -18,10 +18,6 @@
|
||||
|
||||
class FairMQBenchmarkSampler: public FairMQDevice
|
||||
{
|
||||
protected:
|
||||
Int_t fEventSize;
|
||||
Int_t fEventRate;
|
||||
Int_t fEventCounter;
|
||||
public:
|
||||
enum {
|
||||
InputFile = FairMQDevice::Last,
|
||||
@@ -31,15 +27,18 @@ class FairMQBenchmarkSampler: public FairMQDevice
|
||||
};
|
||||
FairMQBenchmarkSampler();
|
||||
virtual ~FairMQBenchmarkSampler();
|
||||
void Log(Int_t intervalInMs);
|
||||
void ResetEventCounter();
|
||||
virtual void SetProperty(const Int_t& key, const TString& value, const Int_t& slot = 0);
|
||||
virtual TString GetProperty(const Int_t& key, const TString& default_ = "", const Int_t& slot = 0);
|
||||
virtual void SetProperty(const Int_t& key, const Int_t& value, const Int_t& slot = 0);
|
||||
virtual Int_t GetProperty(const Int_t& key, const Int_t& default_ = 0, const Int_t& slot = 0);
|
||||
protected:
|
||||
Int_t fEventSize;
|
||||
Int_t fEventRate;
|
||||
Int_t fEventCounter;
|
||||
virtual void Init();
|
||||
virtual void Run();
|
||||
void Log(Int_t intervalInMs);
|
||||
void* ResetEventCounter();
|
||||
static void* callResetEventCounter(void* arg) { return ((FairMQBenchmarkSampler*)arg)->ResetEventCounter(); }
|
||||
virtual void SetProperty(Int_t key, TString value, Int_t slot = 0);
|
||||
virtual TString GetProperty(Int_t key, TString default_ = "", Int_t slot = 0);
|
||||
virtual void SetProperty(Int_t key, Int_t value, Int_t slot = 0);
|
||||
virtual Int_t GetProperty(Int_t key, Int_t default_ = 0, Int_t slot = 0);
|
||||
};
|
||||
|
||||
#endif /* FAIRMQBENCHMARKSAMPLER_H_ */
|
||||
|
Reference in New Issue
Block a user