code_profiler
Classes | Namespaces | Macros
timer.h File Reference
#include <sys/time.h>
#include <iostream>
#include <string>
Include dependency graph for timer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tue::Timer
 

Namespaces

 tue
 

Macros

#define TIMER_START   Timer t; t.start();
 
#define TIMER_STOP(x)   (t. printLastElapsedTime(x))
 
#define TIMER_STOP_M(x)   (t.printLastElapsedTimeMSec(x))
 

Macro Definition Documentation

◆ TIMER_START

#define TIMER_START   Timer t; t.start();

Definition at line 127 of file timer.h.

◆ TIMER_STOP

#define TIMER_STOP (   x)    (t. printLastElapsedTime(x))

Definition at line 128 of file timer.h.

◆ TIMER_STOP_M

#define TIMER_STOP_M (   x)    (t.printLastElapsedTimeMSec(x))

Definition at line 129 of file timer.h.