Squid Web Cache master
Loading...
Searching...
No Matches
Ipc::ReadWriteLockStats Class Reference

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
 

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: