File indexing completed on 2025-08-05 08:16:06
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
0010 class PHCompositeNode;
0011
0012 class Timing : public SubsysReco
0013 {
0014 public:
0015 Timing(const std::string &name = "Timing");
0016 ~Timing() override {}
0017 int InitRun(PHCompositeNode *topNode) override;
0018 int process_event(PHCompositeNode *topNode) override;
0019 void SetCallCounter(unsigned int i) { calls = i; }
0020
0021 private:
0022 unsigned int call_counter{0};
0023 unsigned int calls{10000};
0024 unsigned int counter{0};
0025 time_t starttime{0};
0026 };
0027
0028 #endif