Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
helios::profile::ZoneSpec Struct Reference

Immutable zone description for a single instrumentation site. More...

#include <common.hpp>

Public Attributes

std::string_view name
std::source_location loc = std::source_location::current()
uint32_t color = 0
bool active = true
int callstack_depth = 0

Detailed Description

Immutable zone description for a single instrumentation site.

Constructed at each instrumentation entry. Empty name means the backend should use loc.function_name().

Definition at line 22 of file common.hpp.

Member Data Documentation

◆ active

bool helios::profile::ZoneSpec::active = true

Definition at line 26 of file common.hpp.

◆ callstack_depth

int helios::profile::ZoneSpec::callstack_depth = 0

Optional stack-capture depth hint. Backends that do not support callstack capture may ignore this field.

Definition at line 29 of file common.hpp.

◆ color

uint32_t helios::profile::ZoneSpec::color = 0

Definition at line 25 of file common.hpp.

◆ loc

std::source_location helios::profile::ZoneSpec::loc = std::source_location::current()

Definition at line 24 of file common.hpp.

◆ name

std::string_view helios::profile::ZoneSpec::name

Definition at line 23 of file common.hpp.