#include <XrdXrootdStats.hh>
Public Member Functions | |
void | setFS (XrdSfsFileSystem *fsp) |
int | Stats (char *buff, int blen, int do_sync=0) |
int | Stats (XrdXrootdResponse &resp, const char *opts) |
XrdXrootdStats (XrdStats *sp) | |
~XrdXrootdStats () | |
Public Attributes | |
int | Count |
int | errorCnt |
int | redirCnt |
int | stallCnt |
int | getfCnt |
int | putfCnt |
int | openCnt |
int | readCnt |
int | prerCnt |
int | writeCnt |
int | syncCnt |
int | miscCnt |
int | AsyncNum |
int | AsyncMax |
int | AsyncRej |
int | AsyncNow |
int | Refresh |
XrdSysMutex | statsMutex |
Private Attributes | |
XrdSfsFileSystem * | fsP |
XrdStats * | xstats |
Definition at line 21 of file XrdXrootdStats.hh.
XrdXrootdStats::XrdXrootdStats | ( | XrdStats * | sp | ) |
XrdXrootdStats::~XrdXrootdStats | ( | ) | [inline] |
Definition at line 51 of file XrdXrootdStats.hh.
void XrdXrootdStats::setFS | ( | XrdSfsFileSystem * | fsp | ) | [inline] |
Definition at line 44 of file XrdXrootdStats.hh.
References fsP.
Referenced by XrdXrootdProtocol::Configure().
int XrdXrootdStats::Stats | ( | char * | buff, | |
int | blen, | |||
int | do_sync = 0 | |||
) |
Definition at line 54 of file XrdXrootdStats.cc.
References AsyncMax, AsyncNum, AsyncRej, Count, fsP, getfCnt, XrdSfsFileSystem::getStats(), len, XrdSysMutex::Lock(), miscCnt, openCnt, prerCnt, putfCnt, readCnt, Refresh, snprintf, statsMutex, syncCnt, XrdSysMutex::UnLock(), and writeCnt.
Referenced by XrdXrootdProtocol::do_Query(), and XrdXrootdProtocol::Stats().
int XrdXrootdStats::Stats | ( | XrdXrootdResponse & | resp, | |
const char * | opts | |||
) |
Definition at line 84 of file XrdXrootdStats.cc.
References i, XrdStats::Lock(), XrdXrootdResponse::Send(), XrdStats::Stats(), XrdStats::UnLock(), XRD_STATS_ALL, XRD_STATS_BUFF, XRD_STATS_INFO, XRD_STATS_LINK, XRD_STATS_POLL, XRD_STATS_PROC, XRD_STATS_PROT, XRD_STATS_SCHD, and xstats.
Definition at line 25 of file XrdXrootdStats.hh.
Referenced by XrdXrootdProtocol::fsError(), XrdXrootdCallBack::sendError(), and XrdXrootdStats().
Definition at line 26 of file XrdXrootdStats.hh.
Referenced by XrdXrootdProtocol::fsError(), XrdXrootdCallBack::sendError(), and XrdXrootdStats().
Definition at line 27 of file XrdXrootdStats.hh.
Referenced by XrdXrootdProtocol::fsError(), XrdXrootdCallBack::sendError(), and XrdXrootdStats().
Definition at line 31 of file XrdXrootdStats.hh.
Referenced by XrdXrootdProtocol::Cleanup(), XrdXrootdProtocol::Stats(), Stats(), and XrdXrootdStats().
Definition at line 32 of file XrdXrootdStats.hh.
Referenced by XrdXrootdProtocol::Stats(), Stats(), and XrdXrootdStats().
Definition at line 33 of file XrdXrootdStats.hh.
Referenced by XrdXrootdProtocol::Cleanup(), XrdXrootdProtocol::Stats(), Stats(), and XrdXrootdStats().
Definition at line 37 of file XrdXrootdStats.hh.
Referenced by XrdXrootdAio::Alloc(), Stats(), and XrdXrootdStats().
Definition at line 38 of file XrdXrootdStats.hh.
Referenced by XrdXrootdProtocol::do_ReadAll(), XrdXrootdProtocol::do_Write(), Stats(), and XrdXrootdStats().
Definition at line 39 of file XrdXrootdStats.hh.
Referenced by XrdXrootdAio::Alloc(), XrdXrootdAio::Recycle(), and XrdXrootdStats().
Definition at line 42 of file XrdXrootdStats.hh.
Referenced by XrdXrootdProtocol::Cleanup(), XrdXrootdProtocol::Stats(), and Stats().
XrdSfsFileSystem* XrdXrootdStats::fsP [private] |
XrdStats* XrdXrootdStats::xstats [private] |