|
xrootd
|
#include <XrdMonCtrBuffer.hh>

Classes | |
| struct | Elem |
Public Member Functions | |
| void | push_back (XrdMonCtrPacket *p) |
| XrdMonCtrPacket * | pop_front () |
| void | printList (const char *) |
Static Public Member Functions | |
| static XrdMonCtrBuffer * | instance () |
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 |
| XrdMonCtrBuffer::XrdMonCtrBuffer | ( | ) | [private] |
Referenced by instance().
| void XrdMonCtrBuffer::collectStats | ( | ) | [private] |
References _aver, _counter1K, _last1Kmax, _last1Ktotal, _max, XrdMonCtrDebug::_mutex, _noElems, _noKInAver, and XrdSysMutexHelper::Lock().
Referenced by pop_front().
| XrdMonCtrBuffer * XrdMonCtrBuffer::instance | ( | ) | [static] |
References _instance, and XrdMonCtrBuffer().
Referenced by XrdMonCtrArchiver::operator()(), and receivePackets().
| XrdMonCtrPacket * XrdMonCtrBuffer::pop_front | ( | ) |
References _cond, _head, _mutex, _noElems, _tail, collectStats(), XrdSysMutexHelper::Lock(), XrdMonCtrBuffer::Elem::next, XrdMonCtrBuffer::Elem::packet, and XrdSysCondVar::Wait().
Referenced by XrdMonCtrArchiver::operator()().
| void XrdMonCtrBuffer::printList | ( | const char * | txt | ) |
| void XrdMonCtrBuffer::push_back | ( | XrdMonCtrPacket * | p | ) |
References _cond, _head, _mutex, _noElems, _tail, XrdSysMutexHelper::Lock(), XrdMonCtrBuffer::Elem::next, and XrdSysCondVar::Signal().
Referenced by receivePackets().
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 [static, private] |
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] |
Referenced by collectStats(), pop_front(), printList(), and push_back().
int XrdMonCtrBuffer::_noKInAver [private] |
Referenced by collectStats().
Elem* XrdMonCtrBuffer::_tail [private] |
Referenced by pop_front(), printList(), and push_back().
1.7.3