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/compactcas.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/compactcas.cpp')
| -rw-r--r-- | src/zenstore/compactcas.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/zenstore/compactcas.cpp b/src/zenstore/compactcas.cpp index 790a4078e..1e647b284 100644 --- a/src/zenstore/compactcas.cpp +++ b/src/zenstore/compactcas.cpp @@ -184,6 +184,7 @@ CasContainerStrategy::InsertChunk(const void* ChunkData, size_t ChunkSize, const // reads, insert and GC. m_BlockStore.WriteChunk(ChunkData, ChunkSize, m_PayloadAlignment, [&](const BlockStoreLocation& Location) { + ZEN_TRACE_CPU("CasContainer::UpdateLocation"); BlockStoreDiskLocation DiskLocation(Location, m_PayloadAlignment); const CasDiskIndexEntry IndexEntry{.Key = ChunkHash, .Location = DiskLocation}; m_CasLog.Append(IndexEntry); |