diff options
| author | Stefan Boberg <[email protected]> | 2024-12-02 12:21:53 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-12-02 12:21:53 +0100 |
| commit | e6f44577f469e891ed8dab1492a4c53224e0b765 (patch) | |
| tree | 47334606ce62fb6bf1975cdc09276ced335599f4 /src/zencore/stats.cpp | |
| parent | 5.5.15-pre0 (diff) | |
| download | zen-e6f44577f469e891ed8dab1492a4c53224e0b765.tar.xz zen-e6f44577f469e891ed8dab1492a4c53224e0b765.zip | |
added support for dynamic LLM tags (#245)
* added FLLMTag which can be used to register memory tags outside of core
* changed `UE_MEMSCOPE` -> `ZEN_MEMSCOPE` for consistency
* instrumented some subsystems with dynamic tags
Diffstat (limited to 'src/zencore/stats.cpp')
| -rw-r--r-- | src/zencore/stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zencore/stats.cpp b/src/zencore/stats.cpp index 6be16688b..8a424c5ad 100644 --- a/src/zencore/stats.cpp +++ b/src/zencore/stats.cpp @@ -226,7 +226,7 @@ thread_local xoshiro256 ThreadLocalRng; UniformSample::UniformSample(uint32_t ReservoirSize) { - UE_MEMSCOPE(ELLMTag::Metrics); + ZEN_MEMSCOPE(ELLMTag::Metrics); m_Values = std::vector<std::atomic<int64_t>>(ReservoirSize); } @@ -277,7 +277,7 @@ UniformSample::Update(int64_t Value) SampleSnapshot UniformSample::Snapshot() const { - UE_MEMSCOPE(ELLMTag::Metrics); + ZEN_MEMSCOPE(ELLMTag::Metrics); uint64_t ValuesSize = Size(); std::vector<double> Values(ValuesSize); |