|
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 |
|
private |
Referenced by instance().
|
private |
References _aver, _counter1K, _last1Kmax, _last1Ktotal, _max, XrdMonCtrDebug::_mutex, _noElems, _noKInAver, and XrdSysMutexHelper::Lock().
Referenced by pop_front().
|
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().
|
private |
Referenced by collectStats().
|
private |
Referenced by pop_front(), and push_back().
|
private |
Referenced by collectStats().
|
private |
Referenced by pop_front(), printList(), and push_back().
|
staticprivate |
Referenced by instance().
|
private |
Referenced by collectStats().
|
private |
Referenced by collectStats().
|
private |
Referenced by collectStats().
|
private |
Referenced by pop_front(), and push_back().
|
private |
Referenced by collectStats(), pop_front(), printList(), and push_back().
|
private |
Referenced by collectStats().
|
private |
Referenced by pop_front(), printList(), and push_back().
1.8.3.1