|
Squid Web Cache master
|
approximate stats of a set of ReadWriteLocks More...
#include <ReadWriteLock.h>
Public Member Functions | |
| ReadWriteLockStats () | |
| void | dump (StoreEntry &e) const |
Public Attributes | |
| int | count |
| the total number of locks | |
| int | readable |
| number of locks locked for reading | |
| int | writeable |
| number of locks locked for writing | |
| int | idle |
| number of unlocked locks | |
| int | readers |
| sum of lock.readers | |
| int | writers |
| sum of lock.writers | |
| int | appenders |
| number of appending writers | |
Definition at line 70 of file ReadWriteLock.h.
| Ipc::ReadWriteLockStats::ReadWriteLockStats | ( | ) |
Definition at line 165 of file ReadWriteLock.cc.
| void Ipc::ReadWriteLockStats::dump | ( | StoreEntry & | e | ) | const |
Definition at line 171 of file ReadWriteLock.cc.
References storeAppendPrintf().
Referenced by MemStore::stat(), and Rock::SwapDir::statfs().
| int Ipc::ReadWriteLockStats::appenders |
Definition at line 83 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
| int Ipc::ReadWriteLockStats::count |
Definition at line 77 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
| int Ipc::ReadWriteLockStats::idle |
Definition at line 80 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
| int Ipc::ReadWriteLockStats::readable |
Definition at line 78 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
| int Ipc::ReadWriteLockStats::readers |
Definition at line 81 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
| int Ipc::ReadWriteLockStats::writeable |
Definition at line 79 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
| int Ipc::ReadWriteLockStats::writers |
Definition at line 82 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().