32 #ifndef CXCYCLICACTIONLOGGER_H_
33 #define CXCYCLICACTIONLOGGER_H_
35 #include "cxResourceExport.h"
37 #include "boost/shared_ptr.hpp"
64 void reset(
int interval = 1000);
67 void time(QString
id);
70 bool intervalPassed()
const;
71 QString dumpStatistics();
72 QString dumpStatisticsSmall();
74 int getTime(QString
id);
75 int getTotalLoggedTime();
82 std::vector<double> time;
84 std::vector<Entry> mTiming;
89 double getMeanTime(std::vector<double> &time);
90 double getMaxTime(std::vector<double> &time);
91 std::vector<Entry>::iterator getTimingVectorIterator(QString
id);
boost::shared_ptr< class CyclicActionLogger > CyclicActionLoggerPtr