CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
lru::Counters Struct Reference

#include <lru.h>

Collaboration diagram for lru::Counters:

Public Member Functions

 Counters (perf::StatisticsTemplate statistics)
 

Public Attributes

perf::Countersz_size
 
perf::Countern_hit
 
perf::Countern_miss
 
perf::Countern_insert
 
perf::Countern_insert_negative
 
uint64_t num_collisions
 
uint32_t max_collisions
 
perf::Countern_update
 
perf::Countern_update_value
 
perf::Countern_replace
 
perf::Countern_forget
 
perf::Countern_drop
 
perf::Countersz_allocated
 

Detailed Description

Counting of cache operations.

Definition at line 63 of file lru.h.

Constructor & Destructor Documentation

lru::Counters::Counters ( perf::StatisticsTemplate  statistics)
inlineexplicit

Definition at line 78 of file lru.h.

Here is the call graph for this function:

Member Data Documentation

uint32_t lru::Counters::max_collisions

Definition at line 70 of file lru.h.

Referenced by Counters(), and lru::LruCache< shash::Any, MemoryBuffer >::counters().

perf::Counter* lru::Counters::n_drop

Definition at line 75 of file lru.h.

Referenced by Counters(), and lru::LruCache< shash::Any, MemoryBuffer >::Drop().

perf::Counter* lru::Counters::n_hit

Definition at line 65 of file lru.h.

Referenced by Counters(), and lru::LruCache< shash::Any, MemoryBuffer >::Lookup().

perf::Counter* lru::Counters::n_insert

Definition at line 67 of file lru.h.

Referenced by Counters(), and lru::LruCache< shash::Any, MemoryBuffer >::Insert().

perf::Counter* lru::Counters::n_insert_negative

Definition at line 68 of file lru.h.

Referenced by Counters(), and lru::Md5PathCache::InsertNegative().

perf::Counter* lru::Counters::n_miss

Definition at line 66 of file lru.h.

Referenced by Counters(), and lru::LruCache< shash::Any, MemoryBuffer >::Lookup().

perf::Counter* lru::Counters::n_replace

Definition at line 73 of file lru.h.

Referenced by Counters(), and lru::LruCache< shash::Any, MemoryBuffer >::DeleteOldest().

perf::Counter* lru::Counters::n_update_value

Definition at line 72 of file lru.h.

Referenced by Counters(), and lru::LruCache< shash::Any, MemoryBuffer >::UpdateValue().

uint64_t lru::Counters::num_collisions

Definition at line 69 of file lru.h.

Referenced by Counters(), and lru::LruCache< shash::Any, MemoryBuffer >::counters().

perf::Counter* lru::Counters::sz_size

Definition at line 64 of file lru.h.

Referenced by Counters(), and lru::LruCache< shash::Any, MemoryBuffer >::LruCache().


The documentation for this struct was generated from the following file: