github.com/phuslu/lru@v1.0.16-0.20240421170520-46288a2fd47c/stats.go (about) 1 package lru 2 3 // Stats represents cache stats. 4 type Stats struct { 5 // GetCalls is the number of Get calls. 6 GetCalls uint64 7 8 // SetCalls is the number of Set calls. 9 SetCalls uint64 10 11 // Misses is the number of cache misses. 12 Misses uint64 13 14 // EntriesCount is the current number of entries in the cache. 15 EntriesCount uint64 16 }