Classes | Macros | Enumerations | Functions
stop-watch.hpp File Reference
#include "tsid/utils/Stdafx.hh"
Include dependency graph for stop-watch.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Stopwatch::PerformanceData
 
class  Stopwatch
 A class representing a stopwatch. More...
 
struct  StopwatchException
 

Macros

#define START_PROFILER(name)   getProfiler().start(name)
 
#define STOP_PROFILER(name)   getProfiler().stop(name)
 
#define STOP_WATCH_MAX_NAME_LENGTH   60
 
#define STOP_WATCH_TIME_WIDTH   10
 

Enumerations

enum  StopwatchMode { NONE = 0, CPU_TIME = 1, REAL_TIME = 2 }
 

Functions

StopwatchgetProfiler ()
 

Macro Definition Documentation

◆ START_PROFILER

#define START_PROFILER (   name)    getProfiler().start(name)

Definition at line 39 of file stop-watch.hpp.

◆ STOP_PROFILER

#define STOP_PROFILER (   name)    getProfiler().stop(name)

Definition at line 40 of file stop-watch.hpp.

◆ STOP_WATCH_MAX_NAME_LENGTH

#define STOP_WATCH_MAX_NAME_LENGTH   60

Definition at line 42 of file stop-watch.hpp.

◆ STOP_WATCH_TIME_WIDTH

#define STOP_WATCH_TIME_WIDTH   10

Definition at line 43 of file stop-watch.hpp.

Enumeration Type Documentation

◆ StopwatchMode

Enumerator
NONE 
CPU_TIME 
REAL_TIME 

Definition at line 52 of file stop-watch.hpp.

Function Documentation

◆ getProfiler()

Stopwatch& getProfiler ( )

Definition at line 43 of file stop-watch.cpp.



tsid
Author(s): Andrea Del Prete, Justin Carpentier
autogenerated on Sat May 3 2025 02:48:17