Page Speed Optimization Libraries
1.5.27.2
|
Public Member Functions | |
void | Add (const SectorStats &other) |
Adds number to this object's. No concurrency control is done. | |
GoogleString | Dump (size_t total_entries, size_t total_blocks) const |
Text dump of the statistics. No concurrency control is done. | |
Public Attributes | |
int64 | num_put |
int64 | num_put_update |
update of the same key | |
int64 | num_put_replace |
replacement of different key | |
int64 | num_put_concurrent_create |
int64 | num_put_concurrent_full_set |
int64 | num_put_spins |
# of times writers had to sleep behind readers | |
int64 | num_get |
# of calls to get | |
int64 | num_get_hit |
int64 | used_entries |
Current state stats --- updated by SharedMemCacheData. | |
int64 | used_blocks |
FS operation stats --- updated by SharedMemCache. We do it this way rather than using the normal Statistics interface to avoid having to worry about extra synchronization inside critical sections --- since we already hold sector locks when doing this stuff, it's easy to update per-sector data.