approximate stats of a set of ReadWriteLocks More...
#include <ReadWriteLock.h>
![Collaboration graph](classIpc_1_1ReadWriteLockStats__coll__graph.png)
Public Member Functions | |
ReadWriteLockStats () | |
void | dump (StoreEntry &e) const |
Public Attributes | |
int | count |
the total number of locks More... | |
int | readable |
number of locks locked for reading More... | |
int | writeable |
number of locks locked for writing More... | |
int | idle |
number of unlocked locks More... | |
int | readers |
sum of lock.readers More... | |
int | writers |
sum of lock.writers More... | |
int | appenders |
number of appending writers More... | |
Detailed Description
Definition at line 70 of file ReadWriteLock.h.
Constructor & Destructor Documentation
◆ ReadWriteLockStats()
Ipc::ReadWriteLockStats::ReadWriteLockStats | ( | ) |
Definition at line 165 of file ReadWriteLock.cc.
Member Function Documentation
◆ dump()
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().
Member Data Documentation
◆ appenders
int Ipc::ReadWriteLockStats::appenders |
Definition at line 83 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
◆ count
int Ipc::ReadWriteLockStats::count |
Definition at line 77 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
◆ idle
int Ipc::ReadWriteLockStats::idle |
Definition at line 80 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
◆ readable
int Ipc::ReadWriteLockStats::readable |
Definition at line 78 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
◆ readers
int Ipc::ReadWriteLockStats::readers |
Definition at line 81 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
◆ writeable
int Ipc::ReadWriteLockStats::writeable |
Definition at line 79 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
◆ writers
int Ipc::ReadWriteLockStats::writers |
Definition at line 82 of file ReadWriteLock.h.
Referenced by Ipc::ReadWriteLock::updateStats().
The documentation for this class was generated from the following files:
- src/ipc/ReadWriteLock.h
- src/ipc/ReadWriteLock.cc
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products