Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
macros.hpp File Reference

Go to the source code of this file.

Macros

#define HELIOS_PROFILE_SCOPE()
#define HELIOS_PROFILE_SCOPE_N(name)
#define HELIOS_PROFILE_SCOPE_C(color)
#define HELIOS_PROFILE_SCOPE_NC(name, color)
#define HELIOS_PROFILE_SCOPE_IF(name, active)
#define HELIOS_PROFILE_SCOPE_S(depth)
#define HELIOS_PROFILE_SCOPE_NS(name, depth)
#define HELIOS_PROFILE_ZONE_TEXT(text)
#define HELIOS_PROFILE_ZONE_VALUE(value)
#define HELIOS_PROFILE_ZONE_NAME(name)
#define HELIOS_PROFILE_FRAME()
#define HELIOS_PROFILE_FRAME_N(name)
#define HELIOS_PROFILE_FRAME_START(name)
#define HELIOS_PROFILE_FRAME_END(name)
#define HELIOS_PROFILE_MESSAGE(msg)
#define HELIOS_PROFILE_SET_THREAD_NAME(name)
#define HELIOS_PROFILE_PLOT(name, value)
#define HELIOS_PROFILE_PLOT_CONFIG(name, type, step, fill, color)
#define HELIOS_PROFILE_ALLOC(ptr, size)
#define HELIOS_PROFILE_FREE(ptr)
#define HELIOS_PROFILE_ALLOC_N(ptr, size, name)
#define HELIOS_PROFILE_FREE_N(ptr, name)
#define HELIOS_PROFILE_ALLOC_S(ptr, size, depth)
#define HELIOS_PROFILE_FREE_S(ptr, depth)
#define HELIOS_PROFILE_ALLOC_NS(ptr, size, depth, name)
#define HELIOS_PROFILE_FREE_NS(ptr, depth, name)
#define HELIOS_PROFILE_MEMORY_DISCARD(name)
#define HELIOS_PROFILE_MEMORY_DISCARD_S(name, depth)

Macro Definition Documentation

◆ HELIOS_PROFILE_ALLOC

#define HELIOS_PROFILE_ALLOC ( ptr,
size )
Value:
#define HELIOS_PROFILE_SCOPE()
Definition macros.hpp:142

Definition at line 163 of file macros.hpp.

◆ HELIOS_PROFILE_ALLOC_N

#define HELIOS_PROFILE_ALLOC_N ( ptr,
size,
name )
Value:

Definition at line 165 of file macros.hpp.

◆ HELIOS_PROFILE_ALLOC_NS

#define HELIOS_PROFILE_ALLOC_NS ( ptr,
size,
depth,
name )
Value:

Definition at line 169 of file macros.hpp.

◆ HELIOS_PROFILE_ALLOC_S

#define HELIOS_PROFILE_ALLOC_S ( ptr,
size,
depth )
Value:

Definition at line 167 of file macros.hpp.

◆ HELIOS_PROFILE_FRAME

#define HELIOS_PROFILE_FRAME ( )
Value:

Definition at line 154 of file macros.hpp.

◆ HELIOS_PROFILE_FRAME_END

#define HELIOS_PROFILE_FRAME_END ( name)
Value:

Definition at line 157 of file macros.hpp.

◆ HELIOS_PROFILE_FRAME_N

#define HELIOS_PROFILE_FRAME_N ( name)
Value:

Definition at line 155 of file macros.hpp.

◆ HELIOS_PROFILE_FRAME_START

#define HELIOS_PROFILE_FRAME_START ( name)
Value:

Definition at line 156 of file macros.hpp.

◆ HELIOS_PROFILE_FREE

#define HELIOS_PROFILE_FREE ( ptr)
Value:

Definition at line 164 of file macros.hpp.

◆ HELIOS_PROFILE_FREE_N

#define HELIOS_PROFILE_FREE_N ( ptr,
name )
Value:

Definition at line 166 of file macros.hpp.

◆ HELIOS_PROFILE_FREE_NS

#define HELIOS_PROFILE_FREE_NS ( ptr,
depth,
name )
Value:

Definition at line 170 of file macros.hpp.

◆ HELIOS_PROFILE_FREE_S

#define HELIOS_PROFILE_FREE_S ( ptr,
depth )
Value:

Definition at line 168 of file macros.hpp.

◆ HELIOS_PROFILE_MEMORY_DISCARD

#define HELIOS_PROFILE_MEMORY_DISCARD ( name)
Value:

Definition at line 171 of file macros.hpp.

◆ HELIOS_PROFILE_MEMORY_DISCARD_S

#define HELIOS_PROFILE_MEMORY_DISCARD_S ( name,
depth )
Value:

Definition at line 172 of file macros.hpp.

◆ HELIOS_PROFILE_MESSAGE

#define HELIOS_PROFILE_MESSAGE ( msg)
Value:

Definition at line 158 of file macros.hpp.

◆ HELIOS_PROFILE_PLOT

#define HELIOS_PROFILE_PLOT ( name,
value )
Value:

Definition at line 160 of file macros.hpp.

◆ HELIOS_PROFILE_PLOT_CONFIG

#define HELIOS_PROFILE_PLOT_CONFIG ( name,
type,
step,
fill,
color )
Value:

Definition at line 161 of file macros.hpp.

◆ HELIOS_PROFILE_SCOPE

#define HELIOS_PROFILE_SCOPE ( )
Value:
[[maybe_unused]] static constexpr int HELIOS_ANONYMOUS_VAR(_helios_prof) = 0
#define HELIOS_ANONYMOUS_VAR(prefix)
Definition macro.hpp:14

Definition at line 142 of file macros.hpp.

◆ HELIOS_PROFILE_SCOPE_C

#define HELIOS_PROFILE_SCOPE_C ( color)
Value:

Definition at line 145 of file macros.hpp.

◆ HELIOS_PROFILE_SCOPE_IF

#define HELIOS_PROFILE_SCOPE_IF ( name,
active )
Value:

Definition at line 147 of file macros.hpp.

◆ HELIOS_PROFILE_SCOPE_N

#define HELIOS_PROFILE_SCOPE_N ( name)
Value:

Definition at line 144 of file macros.hpp.

◆ HELIOS_PROFILE_SCOPE_NC

#define HELIOS_PROFILE_SCOPE_NC ( name,
color )
Value:

Definition at line 146 of file macros.hpp.

◆ HELIOS_PROFILE_SCOPE_NS

#define HELIOS_PROFILE_SCOPE_NS ( name,
depth )
Value:

Definition at line 149 of file macros.hpp.

◆ HELIOS_PROFILE_SCOPE_S

#define HELIOS_PROFILE_SCOPE_S ( depth)
Value:

Definition at line 148 of file macros.hpp.

◆ HELIOS_PROFILE_SET_THREAD_NAME

#define HELIOS_PROFILE_SET_THREAD_NAME ( name)
Value:

Definition at line 159 of file macros.hpp.

◆ HELIOS_PROFILE_ZONE_NAME

#define HELIOS_PROFILE_ZONE_NAME ( name)
Value:
#define HELIOS_PROFILE_ZONE_TEXT(text)
Definition macros.hpp:150

Definition at line 153 of file macros.hpp.

◆ HELIOS_PROFILE_ZONE_TEXT

#define HELIOS_PROFILE_ZONE_TEXT ( text)
Value:
[[maybe_unused]] static constexpr int HELIOS_ANONYMOUS_VAR(_helios_prof) = 0

Definition at line 150 of file macros.hpp.

◆ HELIOS_PROFILE_ZONE_VALUE

#define HELIOS_PROFILE_ZONE_VALUE ( value)
Value:

Definition at line 152 of file macros.hpp.