SpikeStream Library  0.2
PerformanceTimer.h
Go to the documentation of this file.
00001 #ifndef PERFORMANCETIMER_H
00002 #define PERFORMANCETIMER_H
00003 
00004 //Qt includes
00005 #include <QDateTime>
00006 
00007 namespace spikestream {
00008 
00010         class PerformanceTimer {
00011 
00012                 public:
00013                         PerformanceTimer();
00014                         ~PerformanceTimer();
00015                         void printTime(const QString& taskName);
00016                         void start();
00017 
00018 
00019                 private:
00020                         //============================== VARIABLES =============================
00022                         QDateTime timerStart;
00023 
00024 
00025                         //=============================== METHODS ==============================
00027                         PerformanceTimer (const PerformanceTimer&);
00028 
00030                         PerformanceTimer operator = (const PerformanceTimer&);
00031 
00032         };
00033 
00034 }
00035 
00036 #endif//PERFORMANCETIMER_H
00037 
 All Classes Files Functions Variables Typedefs Defines