Example #1
0
 ~ScopeTimerCV()
 {
     tm.stop();
     std::cout << "Time(" << name << ") = " << tm.getTimeMilli() << "ms" << std::endl;
 }
	~Timer(void){ meter.stop(); std::cout <<msg << meter.getTimeMilli() << "ms" << std::endl; }
Example #3
0
 ScopeTimerCV(const char *name_) : name(name_) {
     tm.start();
 }
	Timer(string _msg){ msg = _msg;  meter.start(); }