XrdXrootdStats Class Reference

#include <XrdXrootdStats.hh>

List of all members.

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

XrdSfsFileSystemfsP
XrdStatsxstats


Detailed Description

Definition at line 21 of file XrdXrootdStats.hh.


Constructor & Destructor Documentation

XrdXrootdStats::XrdXrootdStats ( XrdStats sp  ) 

Definition at line 26 of file XrdXrootdStats.cc.

References AsyncMax, AsyncNow, AsyncNum, AsyncRej, Count, errorCnt, getfCnt, miscCnt, openCnt, prerCnt, putfCnt, readCnt, redirCnt, Refresh, stallCnt, syncCnt, writeCnt, and xstats.

XrdXrootdStats::~XrdXrootdStats (  )  [inline]

Definition at line 51 of file XrdXrootdStats.hh.


Member Function Documentation

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.


Member Data Documentation

int XrdXrootdStats::Count

Definition at line 24 of file XrdXrootdStats.hh.

Referenced by Stats(), and XrdXrootdStats().

int XrdXrootdStats::errorCnt

Definition at line 25 of file XrdXrootdStats.hh.

Referenced by XrdXrootdProtocol::fsError(), XrdXrootdCallBack::sendError(), and XrdXrootdStats().

int XrdXrootdStats::redirCnt

Definition at line 26 of file XrdXrootdStats.hh.

Referenced by XrdXrootdProtocol::fsError(), XrdXrootdCallBack::sendError(), and XrdXrootdStats().

int XrdXrootdStats::stallCnt

Definition at line 27 of file XrdXrootdStats.hh.

Referenced by XrdXrootdProtocol::fsError(), XrdXrootdCallBack::sendError(), and XrdXrootdStats().

int XrdXrootdStats::getfCnt

Definition at line 28 of file XrdXrootdStats.hh.

Referenced by Stats(), and XrdXrootdStats().

int XrdXrootdStats::putfCnt

Definition at line 29 of file XrdXrootdStats.hh.

Referenced by Stats(), and XrdXrootdStats().

int XrdXrootdStats::openCnt

Definition at line 30 of file XrdXrootdStats.hh.

Referenced by Stats(), and XrdXrootdStats().

int XrdXrootdStats::readCnt

Definition at line 31 of file XrdXrootdStats.hh.

Referenced by XrdXrootdProtocol::Cleanup(), XrdXrootdProtocol::Stats(), Stats(), and XrdXrootdStats().

int XrdXrootdStats::prerCnt

Definition at line 32 of file XrdXrootdStats.hh.

Referenced by XrdXrootdProtocol::Stats(), Stats(), and XrdXrootdStats().

int XrdXrootdStats::writeCnt

Definition at line 33 of file XrdXrootdStats.hh.

Referenced by XrdXrootdProtocol::Cleanup(), XrdXrootdProtocol::Stats(), Stats(), and XrdXrootdStats().

int XrdXrootdStats::syncCnt

Definition at line 34 of file XrdXrootdStats.hh.

Referenced by Stats(), and XrdXrootdStats().

int XrdXrootdStats::miscCnt

Definition at line 35 of file XrdXrootdStats.hh.

Referenced by Stats(), and XrdXrootdStats().

int XrdXrootdStats::AsyncNum

Definition at line 36 of file XrdXrootdStats.hh.

Referenced by Stats(), and XrdXrootdStats().

int XrdXrootdStats::AsyncMax

Definition at line 37 of file XrdXrootdStats.hh.

Referenced by XrdXrootdAio::Alloc(), Stats(), and XrdXrootdStats().

int XrdXrootdStats::AsyncRej

Definition at line 38 of file XrdXrootdStats.hh.

Referenced by XrdXrootdProtocol::do_ReadAll(), XrdXrootdProtocol::do_Write(), Stats(), and XrdXrootdStats().

int XrdXrootdStats::AsyncNow

Definition at line 39 of file XrdXrootdStats.hh.

Referenced by XrdXrootdAio::Alloc(), XrdXrootdAio::Recycle(), and XrdXrootdStats().

int XrdXrootdStats::Refresh

Definition at line 40 of file XrdXrootdStats.hh.

Referenced by Stats(), and XrdXrootdStats().

XrdSysMutex XrdXrootdStats::statsMutex

Definition at line 42 of file XrdXrootdStats.hh.

Referenced by XrdXrootdProtocol::Cleanup(), XrdXrootdProtocol::Stats(), and Stats().

XrdSfsFileSystem* XrdXrootdStats::fsP [private]

Definition at line 54 of file XrdXrootdStats.hh.

Referenced by setFS(), and Stats().

XrdStats* XrdXrootdStats::xstats [private]

Definition at line 55 of file XrdXrootdStats.hh.

Referenced by Stats(), and XrdXrootdStats().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:50:48 2011 for ROOT_528-00b_version by  doxygen 1.5.1