#include <XrdXrootdMonitor.hh>

Classes | |
| struct | MonRdrBuff |
| class | User |
Public Member Functions | |
| void | Add_rd (kXR_unt32 dictid, kXR_int32 rlen, kXR_int64 offset) |
| void | Add_rv (kXR_unt32 dictid, kXR_int32 rlen, kXR_int16 vcnt, kXR_char vseq, kXR_char vtype) |
| void | Add_wr (kXR_unt32 dictid, kXR_int32 wlen, kXR_int64 offset) |
| void | appID (char *id) |
| void | Close (kXR_unt32 dictid, long long rTot, long long wTot) |
| void | Disc (kXR_unt32 dictid, int csec, char Flags=0) |
| void | Open (kXR_unt32 dictid, off_t fsize) |
| XrdXrootdMonitor () | |
Static Public Member Functions | |
| static void | Defaults (char *dest1, int m1, char *dest2, int m2) |
| static void | Defaults (int msz, int rsz, int wsz, int flush, int flash, int iDent, int rnm, int fsint=0, int fsopt=0, int fsion=0) |
| static void | Ident () |
| static int | Init (XrdScheduler *sp, XrdSysError *errp, const char *iHost, const char *iProg, const char *iName, int Port) |
| static int | Redirect () |
| static int | Redirect (kXR_unt32 mID, const char *hName, int Port, const char opC, const char *Path) |
| static time_t | Tick () |
Static Public Attributes | |
| static XrdXrootdMonitor * | altMon |
| static const int | rdrMax = 8 |
Private Member Functions | |
| ~XrdXrootdMonitor () | |
| void | Add_io (kXR_unt32 duid, kXR_int32 blen, kXR_int64 offs) |
| unsigned char | do_Shift (long long xTot, unsigned int &xVal) |
| void | Dup (XrdXrootdMonTrace *mrec) |
| void | Flush () |
| void | Mark () |
Static Private Member Functions | |
| static XrdXrootdMonitor * | Alloc (int force=0) |
| static void | fillHeader (XrdXrootdMonHeader *hdr, const char id, int size) |
| static MonRdrBuff * | Fetch () |
| static void | Flush (MonRdrBuff *mP) |
| static kXR_unt32 | GetDictID () |
| static kXR_unt32 | Map (char code, XrdXrootdMonitor::User &uInfo, const char *path) |
| static int | Send (int mmode, void *buff, int size) |
| static void | startClock () |
| static void | unAlloc (XrdXrootdMonitor *monp) |
Private Attributes | |
| XrdXrootdMonBuff * | monBuff |
| int | nextEnt |
| kXR_int32 | lastWindow |
Static Private Attributes | |
| static struct XrdXrootdMonitor::MonRdrBuff | rdrMon [rdrMax] |
| static MonRdrBuff * | rdrMP |
| static XrdSysMutex | rdrMutex |
| static XrdScheduler * | Sched |
| static XrdSysError * | eDest |
| static XrdSysMutex | windowMutex |
| static char * | idRec |
| static int | idLen |
| static char * | Dest1 |
| static int | monMode1 |
| static XrdNetMsg * | InetDest1 |
| static char * | Dest2 |
| static int | monMode2 |
| static XrdNetMsg * | InetDest2 |
| static int | monBlen |
| static int | lastEnt |
| static int | lastRnt |
| static int | autoFlash |
| static int | autoFlush |
| static int | FlushTime |
| static kXR_int32 | startTime |
| static kXR_int32 | currWindow |
| static int | rdrTOD |
| static int | rdrWin |
| static int | rdrNum |
| static kXR_int32 | sizeWindow |
| static int | isEnabled |
| static int | numMonitor |
| static int | monIdent |
| static int | monRlen |
| static char | sidName [16] |
| static short | sidSize |
| static char | monIO |
| static char | monINFO |
| static char | monFILE |
| static char | monREDR |
| static char | monUSER |
| static char | monAUTH |
| static char | monACTIVE |
| static char | monFSTAT |
| static char | monCLOCK |
Friends | |
| class | User |
| class | XrdXrootdMonFile |
| XrdXrootdMonitor::XrdXrootdMonitor | ( | ) |
| XrdXrootdMonitor::~XrdXrootdMonitor | ( | ) | [private] |
References Add_io().
| void XrdXrootdMonitor::Add_rv | ( | kXR_unt32 | dictid, | |
| kXR_int32 | rlen, | |||
| kXR_int16 | vcnt, | |||
| kXR_char | vseq, | |||
| kXR_char | vtype | |||
| ) | [inline] |
References XrdXrootdMonTrace::arg0, XrdXrootdMonTrace::arg1, XrdXrootdMonTrace::arg2, XrdXrootdMonTrace::buflen, currWindow, XrdXrootdMonTrace::dictid, Flush(), XrdXrootdMonTrace::id, XrdXrootdMonBuff::info, lastEnt, lastWindow, Mark(), monBuff, nextEnt, XrdXrootdMonTrace::rTot, and XrdXrootdMonTrace::sVal.
References Add_io().
| static XrdXrootdMonitor* XrdXrootdMonitor::Alloc | ( | int | force = 0 |
) | [static, private] |
| void XrdXrootdMonitor::appID | ( | char * | id | ) |
| void XrdXrootdMonitor::Close | ( | kXR_unt32 | dictid, | |
| long long | rTot, | |||
| long long | wTot | |||
| ) |
| static void XrdXrootdMonitor::Defaults | ( | int | msz, | |
| int | rsz, | |||
| int | wsz, | |||
| int | flush, | |||
| int | flash, | |||
| int | iDent, | |||
| int | rnm, | |||
| int | fsint = 0, |
|||
| int | fsopt = 0, |
|||
| int | fsion = 0 | |||
| ) | [static] |
| static void XrdXrootdMonitor::Defaults | ( | char * | dest1, | |
| int | m1, | |||
| char * | dest2, | |||
| int | m2 | |||
| ) | [static] |
| void XrdXrootdMonitor::Disc | ( | kXR_unt32 | dictid, | |
| int | csec, | |||
| char | Flags = 0 | |||
| ) |
| unsigned char XrdXrootdMonitor::do_Shift | ( | long long | xTot, | |
| unsigned int & | xVal | |||
| ) | [private] |
| void XrdXrootdMonitor::Dup | ( | XrdXrootdMonTrace * | mrec | ) | [private] |
| static MonRdrBuff* XrdXrootdMonitor::Fetch | ( | ) | [static, private] |
| static void XrdXrootdMonitor::fillHeader | ( | XrdXrootdMonHeader * | hdr, | |
| const char | id, | |||
| int | size | |||
| ) | [static, private] |
| static void XrdXrootdMonitor::Flush | ( | MonRdrBuff * | mP | ) | [static, private] |
| static kXR_unt32 XrdXrootdMonitor::GetDictID | ( | ) | [static, private] |
| static int XrdXrootdMonitor::Init | ( | XrdScheduler * | sp, | |
| XrdSysError * | errp, | |||
| const char * | iHost, | |||
| const char * | iProg, | |||
| const char * | iName, | |||
| int | Port | |||
| ) | [static] |
| static kXR_unt32 XrdXrootdMonitor::Map | ( | char | code, | |
| XrdXrootdMonitor::User & | uInfo, | |||
| const char * | path | |||
| ) | [static, private] |
| void XrdXrootdMonitor::Open | ( | kXR_unt32 | dictid, | |
| off_t | fsize | |||
| ) |
| static int XrdXrootdMonitor::Redirect | ( | kXR_unt32 | mID, | |
| const char * | hName, | |||
| int | Port, | |||
| const char | opC, | |||
| const char * | Path | |||
| ) | [static] |
| static int XrdXrootdMonitor::Redirect | ( | ) | [inline, static] |
References monREDR.
| static int XrdXrootdMonitor::Send | ( | int | mmode, | |
| void * | buff, | |||
| int | size | |||
| ) | [static, private] |
Referenced by Ident().
| static void XrdXrootdMonitor::startClock | ( | ) | [static, private] |
| static time_t XrdXrootdMonitor::Tick | ( | ) | [static] |
| static void XrdXrootdMonitor::unAlloc | ( | XrdXrootdMonitor * | monp | ) | [static, private] |
Referenced by XrdXrootdMonitor::User::Clear().
friend class User [friend] |
friend class XrdXrootdMonFile [friend] |
XrdXrootdMonitor* XrdXrootdMonitor::altMon [static] |
int XrdXrootdMonitor::autoFlash [static, private] |
int XrdXrootdMonitor::autoFlush [static, private] |
kXR_int32 XrdXrootdMonitor::currWindow [static, private] |
char* XrdXrootdMonitor::Dest1 [static, private] |
char* XrdXrootdMonitor::Dest2 [static, private] |
XrdSysError* XrdXrootdMonitor::eDest [static, private] |
int XrdXrootdMonitor::FlushTime [static, private] |
int XrdXrootdMonitor::idLen [static, private] |
Referenced by Ident().
char* XrdXrootdMonitor::idRec [static, private] |
Referenced by Ident().
XrdNetMsg* XrdXrootdMonitor::InetDest1 [static, private] |
XrdNetMsg* XrdXrootdMonitor::InetDest2 [static, private] |
int XrdXrootdMonitor::isEnabled [static, private] |
int XrdXrootdMonitor::lastEnt [static, private] |
int XrdXrootdMonitor::lastRnt [static, private] |
kXR_int32 XrdXrootdMonitor::lastWindow [private] |
char XrdXrootdMonitor::monACTIVE [static, private] |
Referenced by XrdXrootdMonitor::User::Ready().
char XrdXrootdMonitor::monAUTH [static, private] |
Referenced by XrdXrootdMonitor::User::Auths().
int XrdXrootdMonitor::monBlen [static, private] |
XrdXrootdMonBuff* XrdXrootdMonitor::monBuff [private] |
char XrdXrootdMonitor::monCLOCK [static, private] |
char XrdXrootdMonitor::monFILE [static, private] |
char XrdXrootdMonitor::monFSTAT [static, private] |
Referenced by XrdXrootdMonitor::User::Fstat().
int XrdXrootdMonitor::monIdent [static, private] |
char XrdXrootdMonitor::monINFO [static, private] |
Referenced by XrdXrootdMonitor::User::Info().
char XrdXrootdMonitor::monIO [static, private] |
int XrdXrootdMonitor::monMode1 [static, private] |
int XrdXrootdMonitor::monMode2 [static, private] |
char XrdXrootdMonitor::monREDR [static, private] |
Referenced by Redirect().
int XrdXrootdMonitor::monRlen [static, private] |
char XrdXrootdMonitor::monUSER [static, private] |
Referenced by XrdXrootdMonitor::User::Logins().
int XrdXrootdMonitor::nextEnt [private] |
int XrdXrootdMonitor::numMonitor [static, private] |
const int XrdXrootdMonitor::rdrMax = 8 [static] |
struct XrdXrootdMonitor::MonRdrBuff XrdXrootdMonitor::rdrMon[rdrMax] [static, private] |
MonRdrBuff* XrdXrootdMonitor::rdrMP [static, private] |
XrdSysMutex XrdXrootdMonitor::rdrMutex [static, private] |
int XrdXrootdMonitor::rdrNum [static, private] |
int XrdXrootdMonitor::rdrTOD [static, private] |
int XrdXrootdMonitor::rdrWin [static, private] |
XrdScheduler* XrdXrootdMonitor::Sched [static, private] |
char XrdXrootdMonitor::sidName[16] [static, private] |
short XrdXrootdMonitor::sidSize [static, private] |
kXR_int32 XrdXrootdMonitor::sizeWindow [static, private] |
kXR_int32 XrdXrootdMonitor::startTime [static, private] |
XrdSysMutex XrdXrootdMonitor::windowMutex [static, private] |
1.6.1