Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
Loading...
Searching...
No Matches
TracyWrapper.h File Reference

Conditional Tracy profiling macros for the editor. When ENABLE_TRACY is defined, the real Tracy profiler client is included; otherwise the macros expand to no-ops so editor code can be instrumented unconditionally. More...

Macros

#define ZoneScoped   static_cast<void>(0)
#define ZoneScopedN(name)
#define FrameMark   static_cast<void>(0)
#define FrameMarkStart(name)
#define FrameMarkEnd(name)

Detailed Description

Conditional Tracy profiling macros for the editor. When ENABLE_TRACY is defined, the real Tracy profiler client is included; otherwise the macros expand to no-ops so editor code can be instrumented unconditionally.

Native editor builds enable Tracy by default; RE and WASM builds compile this wrapper as no-ops. See the Security section of docs/design_docs/0020-editor.md for the trade-off.

Macro Definition Documentation

◆ FrameMarkEnd

#define FrameMarkEnd ( name)
Value:
static_cast<void>(name)

◆ FrameMarkStart

#define FrameMarkStart ( name)
Value:
static_cast<void>(name)

◆ ZoneScopedN

#define ZoneScopedN ( name)
Value:
static_cast<void>(name)