xrootd
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
XrdMonCtrBuffer Class Reference

#include <XrdMonCtrBuffer.hh>

Collaboration diagram for XrdMonCtrBuffer:
Collaboration graph
[legend]

Classes

struct  Elem
 

Public Member Functions

void push_back (XrdMonCtrPacket *p)
 
XrdMonCtrPacketpop_front ()
 
void printList (const char *)
 

Static Public Member Functions

static XrdMonCtrBufferinstance ()
 

Private Member Functions

 XrdMonCtrBuffer ()
 
void collectStats ()
 

Private Attributes

Elem_head
 
Elem_tail
 
int _noElems
 
XrdSysMutex _mutex
 
XrdSysCondVar _cond
 
int _max
 
int _aver
 
int _noKInAver
 
int _last1Kmax
 
int _last1Ktotal
 
int _counter1K
 

Static Private Attributes

static XrdMonCtrBuffer_instance = 0
 

Constructor & Destructor Documentation

XrdMonCtrBuffer::XrdMonCtrBuffer ( )
private

Referenced by instance().

Member Function Documentation

void XrdMonCtrBuffer::collectStats ( )
private
XrdMonCtrBuffer * XrdMonCtrBuffer::instance ( )
static
XrdMonCtrPacket * XrdMonCtrBuffer::pop_front ( )
void XrdMonCtrBuffer::printList ( const char *  txt)
void XrdMonCtrBuffer::push_back ( XrdMonCtrPacket p)

Member Data Documentation

int XrdMonCtrBuffer::_aver
private

Referenced by collectStats().

XrdSysCondVar XrdMonCtrBuffer::_cond
private

Referenced by pop_front(), and push_back().

int XrdMonCtrBuffer::_counter1K
private

Referenced by collectStats().

Elem* XrdMonCtrBuffer::_head
private

Referenced by pop_front(), printList(), and push_back().

XrdMonCtrBuffer * XrdMonCtrBuffer::_instance = 0
staticprivate

Referenced by instance().

int XrdMonCtrBuffer::_last1Kmax
private

Referenced by collectStats().

int XrdMonCtrBuffer::_last1Ktotal
private

Referenced by collectStats().

int XrdMonCtrBuffer::_max
private

Referenced by collectStats().

XrdSysMutex XrdMonCtrBuffer::_mutex
private

Referenced by pop_front(), and push_back().

int XrdMonCtrBuffer::_noElems
private
int XrdMonCtrBuffer::_noKInAver
private

Referenced by collectStats().

Elem* XrdMonCtrBuffer::_tail
private

Referenced by pop_front(), printList(), and push_back().


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