|
|
bool | from_file (const std::string &path) noexcept |
| |
|
bool | from_json (cJSON const *obj) noexcept |
| |
|
bool | to_json (cJSON *obj) const noexcept |
| |
|
bool | to_file (const std::string &path) const noexcept |
| |
|
cache_stats_t & | operator+= (const cache_stats_t &other) noexcept |
| |
|
double | direct_hit_ratio () const noexcept |
| |
|
double | local_hit_ratio () const noexcept |
| |
|
double | remote_hit_ratio () const noexcept |
| |
|
int | global_hit_count () const noexcept |
| | Hit either the local or the remote cache.
|
| |
|
int | global_miss_count () const noexcept |
| | Missed both local and remote cache.
|
| |
|
double | global_hit_ratio () const noexcept |
| |
|
void | dump (std::ostream &os, const std::string &prefix) const |
| |
|
|
int | m_direct_miss_count {0} |
| |
|
int | m_direct_hit_count {0} |
| |
|
int | m_local_miss_count {0} |
| |
|
int | m_local_hit_count {0} |
| |
|
int | m_remote_hit_count {0} |
| |
|
int | m_remote_miss_count {0} |
| |
The documentation for this class was generated from the following files: