nfx-stringbuilderpool 1.0.0
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/StringBuilderPool.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 865 of file StringBuilderPool.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 871 of file StringBuilderPool.h.

◆ hitRate

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

Cache hit rate as a percentage (0.0 to 1.0)

Definition at line 880 of file StringBuilderPool.h.

◆ newAllocations

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

Number of new buffer allocations when pools were empty.

Definition at line 874 of file StringBuilderPool.h.

◆ threadLocalHits

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

Number of successful buffer retrievals from thread-local cache.

Definition at line 868 of file StringBuilderPool.h.

◆ totalRequests

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

Total number of buffer requests made to the pool.

Definition at line 877 of file StringBuilderPool.h.


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