Statistics of disk cache utilisation. More...
#include <XrdFileCacheStats.hh>
Public Member Functions | |
Stats () | |
Constructor. | |
void | AddStats (Stats &Src) |
Stats | Clone () |
Public Attributes | |
long long | m_BytesDisk |
number of bytes served from disk cache | |
long long | m_BytesRam |
number of bytes served from RAM cache | |
long long | m_BytesMissed |
number of bytes served directly from XrdCl | |
Private Attributes | |
XrdSysMutex | m_MutexXfc |
Statistics of disk cache utilisation.
XrdFileCache::Stats::Stats | ( | ) | [inline] |
Constructor.
References m_BytesDisk, m_BytesMissed, and m_BytesRam.
void XrdFileCache::Stats::AddStats | ( | Stats & | Src | ) | [inline] |
References XrdSysMutex::Lock(), m_BytesDisk, m_BytesMissed, m_BytesRam, m_MutexXfc, and XrdSysMutex::UnLock().
Stats XrdFileCache::Stats::Clone | ( | ) | [inline] |
References XrdSysMutex::Lock(), m_MutexXfc, and XrdSysMutex::UnLock().
long long XrdFileCache::Stats::m_BytesDisk |
number of bytes served from disk cache
Referenced by AddStats(), and Stats().
long long XrdFileCache::Stats::m_BytesMissed |
number of bytes served directly from XrdCl
Referenced by AddStats(), and Stats().
long long XrdFileCache::Stats::m_BytesRam |
number of bytes served from RAM cache
Referenced by AddStats(), and Stats().
XrdSysMutex XrdFileCache::Stats::m_MutexXfc [private] |
Referenced by AddStats(), and Clone().