11 #ifndef CXCYCLICACTIONLOGGER_H_ 12 #define CXCYCLICACTIONLOGGER_H_ 14 #include "cxResourceExport.h" 16 #include "boost/shared_ptr.hpp" 41 void reset(
int interval = 1000);
44 void time(QString
id);
47 bool intervalPassed()
const;
48 QString dumpStatistics();
49 QString dumpStatisticsSmall();
51 int getTime(QString
id);
52 int getTotalLoggedTime();
59 std::vector<double> time;
61 std::vector<Entry> mTiming;
66 double getMeanTime(std::vector<double> &time);
67 double getMaxTime(std::vector<double> &time);
68 std::vector<Entry>::iterator getTimingVectorIterator(QString
id);
Namespace for all CustusX production code.