MGIS 3.1.0
Loading...
Searching...
No Matches
Profiling.hxx File Reference
#include <chrono>
#include <string>
#include "MGIS/Config.hxx"

Classes

struct  mgis::ProfilingSection

Namespaces

namespace  mgis
 the namespace mgis encloses all the MGIS project.

Macros

#define MGIS_CONCAT(a, b)
#define MGIS_CONCAT_INNER(a, b)
#define MGIS_VARNAME()
#define CatchTimeSection(CTX, NAME)
#define CatchLocalTimeSection(CTX, NAME, IS_ENABLED)

Detailed Description

Author
Julien Rigal, Raphaƫl Prat
Date
01/08/2026

Macro Definition Documentation

◆ CatchLocalTimeSection

#define CatchLocalTimeSection ( CTX,
NAME,
IS_ENABLED )
Value:
mgis::ProfilingSection MGIS_VARNAME()(CTX, NAME, IS_ENABLED)
Definition Profiling.hxx:35

◆ CatchTimeSection

#define CatchTimeSection ( CTX,
NAME )
Value:
mgis::ProfilingSection MGIS_VARNAME()(CTX, NAME, (CTX).isProfilingEnabled())

◆ MGIS_CONCAT

#define MGIS_CONCAT ( a,
b )
Value:
MGIS_CONCAT_INNER(a, b)

◆ MGIS_CONCAT_INNER

#define MGIS_CONCAT_INNER ( a,
b )
Value:
a##b

◆ MGIS_VARNAME

#define MGIS_VARNAME ( )
Value:
MGIS_CONCAT(mgis_timer_, __LINE__)