Statistics for sheet cache performance. More...
#include <arena.h>
Public Member Functions | |
| void | Reset () |
| float | HitRate () const |
Public Attributes | |
| size_t | hits = 0 |
| size_t | misses = 0 |
| size_t | evictions = 0 |
| size_t | current_size = 0 |
|
inline |
Definition at line 301 of file arena.h.
References current_size, evictions, hits, and misses.
Referenced by yaze::gfx::Arena::ResetSheetCacheStats().
|
inline |
| size_t yaze::gfx::Arena::SheetCacheStats::hits = 0 |
Definition at line 296 of file arena.h.
Referenced by yaze::gfx::Arena::GetSheetWithCache(), HitRate(), and Reset().
| size_t yaze::gfx::Arena::SheetCacheStats::misses = 0 |
Definition at line 297 of file arena.h.
Referenced by yaze::gfx::Arena::GetSheetWithCache(), HitRate(), and Reset().
| size_t yaze::gfx::Arena::SheetCacheStats::evictions = 0 |
Definition at line 298 of file arena.h.
Referenced by yaze::gfx::Arena::EvictLRUSheets(), and Reset().
| size_t yaze::gfx::Arena::SheetCacheStats::current_size = 0 |
Definition at line 299 of file arena.h.
Referenced by yaze::gfx::Arena::ClearSheetCache(), yaze::gfx::Arena::EvictLRUSheets(), yaze::gfx::Arena::GetSheetWithCache(), and Reset().