XRootD
Loading...
Searching...
No Matches
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)

References _statsINC.

◆ 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)

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

Definition at line 55 of file XrdOucStats.hh.

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


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