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 56 of file ReadWriteLock.h.

Constructor & Destructor Documentation

Ipc::ReadWriteLockStats::ReadWriteLockStats ( )

Definition at line 119 of file ReadWriteLock.cc.

Member Function Documentation

void Ipc::ReadWriteLockStats::dump ( StoreEntry e) const

Definition at line 125 of file ReadWriteLock.cc.

References storeAppendPrintf().

Referenced by MemStore::stat(), and Rock::SwapDir::statfs().

Member Data Documentation

int Ipc::ReadWriteLockStats::appenders

Definition at line 69 of file ReadWriteLock.h.

Referenced by Ipc::ReadWriteLock::updateStats().

int Ipc::ReadWriteLockStats::count

Definition at line 63 of file ReadWriteLock.h.

Referenced by Ipc::ReadWriteLock::updateStats().

int Ipc::ReadWriteLockStats::idle

Definition at line 66 of file ReadWriteLock.h.

Referenced by Ipc::ReadWriteLock::updateStats().

int Ipc::ReadWriteLockStats::readable

Definition at line 64 of file ReadWriteLock.h.

Referenced by Ipc::ReadWriteLock::updateStats().

int Ipc::ReadWriteLockStats::readers

Definition at line 67 of file ReadWriteLock.h.

Referenced by Ipc::ReadWriteLock::updateStats().

int Ipc::ReadWriteLockStats::writeable

Definition at line 65 of file ReadWriteLock.h.

Referenced by Ipc::ReadWriteLock::updateStats().

int Ipc::ReadWriteLockStats::writers

Definition at line 68 of file ReadWriteLock.h.

Referenced by Ipc::ReadWriteLock::updateStats().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors