XRootD
XrdOucStats Class Reference

#include <XrdOucStats.hh>

+ Inheritance diagram for XrdOucStats:
+ Collaboration diagram for XrdOucStats:

Public Member Functions

 XrdOucStats ()
 
 ~XrdOucStats ()
 
void Bump (int &val)
 
void Bump (int &val, int n)
 
void Bump (long long &val)
 
void Bump (long long &val, long long n)
 

Public Attributes

XrdSysMutex statsMutex
 

Detailed Description

Definition at line 43 of file XrdOucStats.hh.

Constructor & Destructor Documentation

◆ XrdOucStats()

XrdOucStats::XrdOucStats ( )
inline

Definition at line 57 of file XrdOucStats.hh.

57 {}

◆ ~XrdOucStats()

XrdOucStats::~XrdOucStats ( )
inline

Definition at line 58 of file XrdOucStats.hh.

58 {}

Member Function Documentation

◆ Bump() [1/4]

void XrdOucStats::Bump ( int &  val)
inline

Definition at line 47 of file XrdOucStats.hh.

47 {_statsINC(val);}
#define _statsINC(x)
Definition: XrdOucStats.hh:40

References _statsINC.

Referenced by XrdSsiCms::Added(), XrdSsiFileReq::Alert(), XrdSsiFileSess::AttnInfo(), XrdSsiFileSess::close(), XrdSsiFileReq::DoIt(), XrdSsiFileSess::fctl(), XrdSsiFileReq::Finalize(), XrdSsiFileReq::GetRequest(), XrdXrootdProtocol::Match(), XrdSsiFileSess::open(), XrdXrootdProtocol::Process2(), XrdSsiFileReq::ProcessResponse(), XrdSsiFileReq::RelRequestBuffer(), and XrdSsiCms::Removed().

+ Here is the caller graph for this function:

◆ Bump() [2/4]

void XrdOucStats::Bump ( int &  val,
int  n 
)
inline

Definition at line 49 of file XrdOucStats.hh.

49 {_statsADD(val,n);}
#define _statsADD(x, y)
Definition: XrdOucStats.hh:39

References _statsADD.

◆ Bump() [3/4]

void XrdOucStats::Bump ( long long &  val)
inline

Definition at line 51 of file XrdOucStats.hh.

51 {_statsINC(val);}

References _statsINC.

◆ Bump() [4/4]

void XrdOucStats::Bump ( long long &  val,
long long  n 
)
inline

Definition at line 53 of file XrdOucStats.hh.

53 {_statsADD(val,n);}

References _statsADD.

Member Data Documentation

◆ statsMutex

XrdSysMutex XrdOucStats::statsMutex

The documentation for this class was generated from the following file: