|
xrootd
|
#include <XrdOfsStats.hh>

Classes | |
| struct | StatsData |
Public Member Functions | |
| void | Add (int &Cntr) |
| void | Dec (int &Cntr) |
| int | Report (char *Buff, int Blen) |
| void | setRole (const char *theRole) |
| XrdOfsStats () | |
| ~XrdOfsStats () | |
Public Attributes | |
| struct XrdOfsStats::StatsData | Data |
| XrdSysMutex | sdMutex |
Private Attributes | |
| const char * | myRole |
| XrdOfsStats::XrdOfsStats | ( | ) | [inline] |
References Data.
| XrdOfsStats::~XrdOfsStats | ( | ) | [inline] |
| void XrdOfsStats::Add | ( | int & | Cntr | ) | [inline] |
References XrdSysMutex::Lock(), sdMutex, and XrdSysMutex::UnLock().
Referenced by XrdOfsHandle::Alloc(), XrdOfsEvr::eventStage(), and XrdOfs::Unpersist().
| void XrdOfsStats::Dec | ( | int & | Cntr | ) | [inline] |
References XrdSysMutex::Lock(), sdMutex, and XrdSysMutex::UnLock().
Referenced by XrdOfsHandle::Retire().
| int XrdOfsStats::Report | ( | char * | Buff, |
| int | Blen | ||
| ) |
References Data, XrdSysMutex::Lock(), myRole, XrdOfsStats::StatsData::numDelays, XrdOfsStats::StatsData::numErrors, XrdOfsStats::StatsData::numHandles, XrdOfsStats::StatsData::numOpenP, XrdOfsStats::StatsData::numOpenR, XrdOfsStats::StatsData::numOpenW, XrdOfsStats::StatsData::numRedirect, XrdOfsStats::StatsData::numReplies, XrdOfsStats::StatsData::numSeventER, XrdOfsStats::StatsData::numSeventOK, XrdOfsStats::StatsData::numStarted, XrdOfsStats::StatsData::numUnpsist, sdMutex, and XrdSysMutex::UnLock().
Referenced by XrdOfs::getStats().
| void XrdOfsStats::setRole | ( | const char * | theRole | ) | [inline] |
References myRole.
Referenced by XrdOfs::Configure().
const char* XrdOfsStats::myRole [private] |
Referenced by Add(), XrdOfsFile::close(), Dec(), XrdOfsFile::open(), and Report().
1.7.3