Esempio n. 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; }
Esempio n. 3
0
 ScopeTimerCV(const char *name_) : name(name_) {
     tm.start();
 }
	Timer(string _msg){ msg = _msg;  meter.start(); }