TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::Diagnostics::ScopeLocation Struct Reference

Per-call-site descriptor, static at each TACHYON_PROFILE_SCOPE site. More...

#include <gui_core/diagnostics/gui_profiler.h>

Public Attributes

uint64_t nameHash = 0
const char * name = ""
const char * file = ""
int line = 0
bool isWait = false
uint64_t cachedKey = 0
int32_t cachedIndex = -1
uint32_t cachedGeneration = 0

Detailed Description

Per-call-site descriptor, static at each TACHYON_PROFILE_SCOPE site.

The cached* fields skip the node lookup when hit from the same call path; Reset invalidates them. Single-threaded.

Member Data Documentation

◆ nameHash

uint64_t tachyon::Diagnostics::ScopeLocation::nameHash = 0

◆ name

const char* tachyon::Diagnostics::ScopeLocation::name = ""

◆ file

const char* tachyon::Diagnostics::ScopeLocation::file = ""

◆ line

int tachyon::Diagnostics::ScopeLocation::line = 0

◆ isWait

bool tachyon::Diagnostics::ScopeLocation::isWait = false

◆ cachedKey

uint64_t tachyon::Diagnostics::ScopeLocation::cachedKey = 0

◆ cachedIndex

int32_t tachyon::Diagnostics::ScopeLocation::cachedIndex = -1

◆ cachedGeneration

uint32_t tachyon::Diagnostics::ScopeLocation::cachedGeneration = 0

The documentation for this struct was generated from the following file: