code_profiler
Classes | 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  Timer
 

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 61 of file Timer.h.

◆ TIMER_STOP

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

Definition at line 62 of file Timer.h.

◆ TIMER_STOP_M

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

Definition at line 63 of file Timer.h.