File indexing completed on 2025-12-17 09:19:37
0001
0002
0003 #ifndef FFAMODULES_TIMING_H
0004 #define FFAMODULES_TIMING_H
0005
0006 #include <fun4all/SubsysReco.h>
0007
0008 #include <string> // for string
0009 #include <ctime>
0010
0011 class PHCompositeNode;
0012
0013 class Timing : public SubsysReco
0014 {
0015 public:
0016 Timing(const std::string &name = "Timing");
0017 ~Timing() override {}
0018 int InitRun(PHCompositeNode *topNode) override;
0019 int process_event(PHCompositeNode *topNode) override;
0020 void SetCallCounter(unsigned int i) { calls = i; }
0021
0022 private:
0023 unsigned int call_counter{0};
0024 unsigned int calls{10000};
0025 unsigned int counter{0};
0026 time_t starttime{0};
0027 };
0028
0029 #endif