Leviathan  0.8.0.0
Leviathan game engine
TimingMonitor.h File Reference
#include "Include.h"
#include <memory>
#include <cstdint>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  Leviathan::TimingMonitorClock
 
class  Leviathan::TimingMonitor
 
class  Leviathan::ScopeTimer
 

Namespaces

 Leviathan
 The access mask controls which registered functions and classes a script sees.
 

Macros

#define TIMINGMONITOR_STYLE_RESULT_DEFAULT   100
 
#define TIMINGMONITOR_STYLE_RESULT_NONE   200
 
#define ADDTIMERFROSCOPE(x, y)   Leviathan::ScopeTimer thisscopetimer_(y);
 
#define ADDTIMEFORSCOPECALLER(x, y)   ADDTIMERFROSCOPE(x, y)
 
#define QUICKTIME_THISSCOPE   ADDTIMEFORSCOPECALLER(__LINE__, __FUNCTION__)
 
#define BASETIMERNAME_FOR_SCROPE_TIMER   "Scopetimer_for_id_:"
 

Macro Definition Documentation

◆ ADDTIMEFORSCOPECALLER

#define ADDTIMEFORSCOPECALLER (   x,
 
)    ADDTIMERFROSCOPE(x, y)

Definition at line 18 of file TimingMonitor.h.

◆ ADDTIMERFROSCOPE

#define ADDTIMERFROSCOPE (   x,
 
)    Leviathan::ScopeTimer thisscopetimer_(y);

Definition at line 15 of file TimingMonitor.h.

◆ BASETIMERNAME_FOR_SCROPE_TIMER

#define BASETIMERNAME_FOR_SCROPE_TIMER   "Scopetimer_for_id_:"

Definition at line 22 of file TimingMonitor.h.

◆ QUICKTIME_THISSCOPE

#define QUICKTIME_THISSCOPE   ADDTIMEFORSCOPECALLER(__LINE__, __FUNCTION__)

Definition at line 20 of file TimingMonitor.h.

◆ TIMINGMONITOR_STYLE_RESULT_DEFAULT

#define TIMINGMONITOR_STYLE_RESULT_DEFAULT   100

Definition at line 9 of file TimingMonitor.h.

◆ TIMINGMONITOR_STYLE_RESULT_NONE

#define TIMINGMONITOR_STYLE_RESULT_NONE   200

Definition at line 10 of file TimingMonitor.h.