nfx-stringbuilder 0.1.1
High-performance C++20 library for zero-allocation string building with thread-safe pooling
Loading...
Searching...
No Matches
nfx::string::StringBuilderPool::PoolStatistics Struct Reference

Pool performance statistics for external access. More...

#include <nfx/string/StringBuilder.h>

Public Attributes

uint64_t threadLocalHits
 Number of successful buffer retrievals from thread-local cache.
uint64_t dynamicStringBufferPoolHits
 Number of successful buffer retrievals from shared cross-thread pool.
uint64_t newAllocations
 Number of new buffer allocations when pools were empty.
uint64_t totalRequests
 Total number of buffer requests made to the pool.
double hitRate
 Cache hit rate as a percentage (0.0 to 1.0).

Detailed Description

Pool performance statistics for external access.

Definition at line 875 of file StringBuilder.h.

Member Data Documentation

◆ dynamicStringBufferPoolHits

uint64_t nfx::string::StringBuilderPool::PoolStatistics::dynamicStringBufferPoolHits

Number of successful buffer retrievals from shared cross-thread pool.

Definition at line 881 of file StringBuilder.h.

◆ hitRate

double nfx::string::StringBuilderPool::PoolStatistics::hitRate

Cache hit rate as a percentage (0.0 to 1.0).

Definition at line 890 of file StringBuilder.h.

◆ newAllocations

uint64_t nfx::string::StringBuilderPool::PoolStatistics::newAllocations

Number of new buffer allocations when pools were empty.

Definition at line 884 of file StringBuilder.h.

◆ threadLocalHits

uint64_t nfx::string::StringBuilderPool::PoolStatistics::threadLocalHits

Number of successful buffer retrievals from thread-local cache.

Definition at line 878 of file StringBuilder.h.

◆ totalRequests

uint64_t nfx::string::StringBuilderPool::PoolStatistics::totalRequests

Total number of buffer requests made to the pool.

Definition at line 887 of file StringBuilder.h.


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