Ipc::ReadWriteLockStats Class Reference

approximate stats of a set of ReadWriteLocks More...

#include <ReadWriteLock.h>

Collaboration diagram for Ipc::ReadWriteLockStats:

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().

Member Data Documentation

◆ appenders

int Ipc::ReadWriteLockStats::appenders

Definition at line 83 of file ReadWriteLock.h.

◆ count

int Ipc::ReadWriteLockStats::count

Definition at line 77 of file ReadWriteLock.h.

◆ idle

int Ipc::ReadWriteLockStats::idle

Definition at line 80 of file ReadWriteLock.h.

◆ readable

int Ipc::ReadWriteLockStats::readable

Definition at line 78 of file ReadWriteLock.h.

◆ readers

int Ipc::ReadWriteLockStats::readers

Definition at line 81 of file ReadWriteLock.h.

◆ writeable

int Ipc::ReadWriteLockStats::writeable

Definition at line 79 of file ReadWriteLock.h.

◆ writers

int Ipc::ReadWriteLockStats::writers

Definition at line 82 of file ReadWriteLock.h.

The documentation for this class was generated from the following files:






Web Site Translations