1 #ifndef _XRDOUCSTATS_HH_
2 #define _XRDOUCSTATS_HH_
36 #define _statsADD(x,y) AtomicAdd(x,y)
37 #define _statsINC(x) AtomicInc(x)
39 #define _statsADD(x,y) statsMutex.Lock(); x+=y; statsMutex.UnLock()
40 #define _statsINC(x) statsMutex.Lock(); x++; statsMutex.UnLock()
void Bump(int &val)
Definition: XrdOucStats.hh:47
XrdOucStats()
Definition: XrdOucStats.hh:57
#define _statsINC(x)
Definition: XrdOucStats.hh:40
void Bump(int &val, int n)
Definition: XrdOucStats.hh:49
Definition: XrdOucStats.hh:43
~XrdOucStats()
Definition: XrdOucStats.hh:58
void Bump(long long &val, long long n)
Definition: XrdOucStats.hh:53
void Bump(long long &val)
Definition: XrdOucStats.hh:51
Definition: XrdSysPthread.hh:164
XrdSysMutex statsMutex
Definition: XrdOucStats.hh:55
#define _statsADD(x, y)
Definition: XrdOucStats.hh:39