16 #ifndef QC_REPOSITORYBENCHMARK_H 17 #define QC_REPOSITORYBENCHMARK_H 20 #include <fairmq/FairMQDevice.h> 22 #include <Monitoring/MonitoringFactory.h> 23 #include <boost/asio.hpp> 37 virtual void InitTask();
38 virtual bool ConditionalRun();
41 TH1* createHisto(uint64_t sizeObjects, std::string name);
45 uint64_t mMaxIterations = 0;
46 uint64_t mNumIterations = 0;
47 uint64_t mNumberObjects = 1;
48 uint64_t mSizeObjects = 1;
49 std::string mTaskName;
50 std::string mObjectName;
51 bool mDeletionMode =
false;
54 std::unique_ptr<o2::monitoring::Monitoring> mMonitoring;
55 uint64_t mTotalNumberObjects = 0;
56 bool mThreadedMonitoring =
true;
57 uint64_t mThreadedMonitoringInterval = 10;
60 std::unique_ptr<o2::quality_control::repository::DatabaseInterface> mDatabase;
61 std::vector<std::shared_ptr<MonitorObject>> mMyObjects;
65 boost::asio::deadline_timer* mTimer;
66 boost::asio::io_service io;
72 #endif // QC_REPOSITORYBENCHMARK_H Definition: RepositoryBenchmark.h:30
These methods can be used to build a complex processing topology. It spawns 3 separate dummy processi...
Definition: Activity.h:19