Stats

Statistics about the operation of ElementCache as well as the underlying CircularBlocks that it uses for element storage.

Members

Functions

toString
void toString(void delegate(in char[]) sink)

String representation of the statistics

Variables

compactionRuns
size_t compactionRuns;

Number of times CircularBlocks.compact is executed

droppedElements
size_t droppedElements;

Number of leading elements dropped

heapAllocations
size_t heapAllocations;

Number of blocks allocated from the heap by the underlying CircularBlocks storage

leadingDropRuns
size_t leadingDropRuns;

Number of times the algorithm for dropping leading elements is executed

removedBlocks
size_t removedBlocks;

Number of blocks removed due to compaction

Meta