diff options
| author | Dan Engelbrecht <[email protected]> | 2024-09-10 10:05:29 +0200 |
|---|---|---|
| committer | Dan Engelbrecht <[email protected]> | 2024-09-10 10:05:29 +0200 |
| commit | 2a8ef702bdb5b8b77baa2e001ee109b88aedc0c8 (patch) | |
| tree | a9fd6cab47c8c178ef67b3befbd2c8991d199ad8 /src/zenstore/cache/structuredcachestore.cpp | |
| parent | don't add batch overhead if we are only going to put one cache value (diff) | |
| download | zen-2a8ef702bdb5b8b77baa2e001ee109b88aedc0c8.tar.xz zen-2a8ef702bdb5b8b77baa2e001ee109b88aedc0c8.zip | |
trace scopes improvements
Diffstat (limited to 'src/zenstore/cache/structuredcachestore.cpp')
| -rw-r--r-- | src/zenstore/cache/structuredcachestore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zenstore/cache/structuredcachestore.cpp b/src/zenstore/cache/structuredcachestore.cpp index 25d20748e..c98561ebb 100644 --- a/src/zenstore/cache/structuredcachestore.cpp +++ b/src/zenstore/cache/structuredcachestore.cpp @@ -233,7 +233,7 @@ ZenCacheNamespace::Get(std::string_view InBucket, const IoHash& HashKey, ZenCach void ZenCacheNamespace::Get(std::string_view InBucket, const IoHash& HashKey, GetBatchHandle& BatchHandle) { - ZEN_TRACE_CPU("Z$::Namespace::GetBatched"); + ZEN_TRACE_CPU("Z$::Namespace::Get(Batched)"); metrics::RequestStats::Scope StatsScope(m_GetOps, 0); @@ -248,7 +248,7 @@ ZenCacheNamespace::Put(std::string_view InBucket, std::span<IoHash> References, PutBatchHandle* OptionalBatchHandle) { - ZEN_TRACE_CPU("Z$::Namespace::Put"); + ZEN_TRACE_CPU(OptionalBatchHandle ? "Z$::Namespace::Put(Batched)" : "Z$::Namespace::Put"); metrics::RequestStats::Scope $(m_PutOps, Value.Value.Size()); |