Struct CacheStatistic¶
Defined in File resource-cache.h
Struct Documentation¶
-
struct backend::CacheStatistic¶
Public Functions
-
void reset()¶
-
void printToLog(int verbosity) const¶
-
std::string print() const¶
-
size_t getNumHits(const ResourceType &type) const¶
-
size_t getNumMiss(const ResourceType &type) const¶
Public Members
-
std::vector<size_t> hit = std::vector<size_t>(kNumResourceTypes, 0u)¶
-
std::vector<size_t> miss = std::vector<size_t>(kNumResourceTypes, 0u)¶
-
std::vector<size_t> cache_size = std::vector<size_t>(kNumResourceTypes, 0u)¶
-
void reset()¶