![]() |
XRootD
|
#include <XrdBuffer.hh>
Public Member Functions | |
XrdBuffManager (int minrst=20 *60) | |
~XrdBuffManager () | |
void | Init () |
int | MaxSize () |
XrdBuffer * | Obtain (int bsz) |
int | Recalc (int bsz) |
void | Release (XrdBuffer *bp) |
void | Reshape () |
void | Set (int maxmem=-1, int minw=-1) |
int | Stats (char *buff, int blen, int do_sync=0) |
Definition at line 71 of file XrdBuffer.hh.
XrdBuffManager::XrdBuffManager | ( | int | minrst = 20*60 | ) |
Definition at line 78 of file XrdBuffer.cc.
References XRD_BUCKETS, and XRD_BUSHIFT.
XrdBuffManager::~XrdBuffManager | ( | ) |
Definition at line 107 of file XrdBuffer.cc.
References XRD_BUCKETS.
void XrdBuffManager::Init | ( | ) |
Definition at line 124 of file XrdBuffer.cc.
References XrdGlobal::Log, XrdSysThread::Run(), and XrdReshaper().
|
inline |
Definition at line 83 of file XrdBuffer.hh.
XrdBuffer * XrdBuffManager::Obtain | ( | int | bsz | ) |
Definition at line 140 of file XrdBuffer.cc.
References XrdOucUtils::Log2(), and XrdGlobal::xlBuff.
int XrdBuffManager::Recalc | ( | int | bsz | ) |
Definition at line 195 of file XrdBuffer.cc.
References XrdOucUtils::Log2(), and XrdGlobal::xlBuff.
void XrdBuffManager::Release | ( | XrdBuffer * | bp | ) |
Definition at line 221 of file XrdBuffer.cc.
References XrdGlobal::xlBuff.
void XrdBuffManager::Reshape | ( | ) |
Definition at line 242 of file XrdBuffer.cc.
References TRACE, XrdSysTimer::Wait(), XrdGlobal::xlBuff, and XRD_BUCKETS.
Referenced by XrdReshaper().
void XrdBuffManager::Set | ( | int | maxmem = -1, |
int | minw = -1 ) |
Definition at line 308 of file XrdBuffer.cc.
int XrdBuffManager::Stats | ( | char * | buff, |
int | blen, | ||
int | do_sync = 0 ) |
Definition at line 323 of file XrdBuffer.cc.
References XrdGlobal::xlBuff.