xrootd
|
Statistics of cache utilisation by a File object. More...
#include <XrdPfcStats.hh>
Public Member Functions | |
Stats () | |
Stats (const Stats &s) | |
Stats & | operator= (const Stats &)=default |
void | AddReadStats (const Stats &s) |
void | AddBytesHit (long long bh) |
void | AddWriteStats (long long bytes_written, int n_cks_errs) |
void | IoAttach () |
void | IoDetach (int duration) |
Stats | Clone () |
void | DeltaToReference (const Stats &ref) |
void | AddUp (const Stats &s) |
void | Reset () |
Public Attributes | |
int | m_NumIos |
number of IO objects attached during this access | |
int | m_Duration |
total duration of all IOs attached | |
long long | m_BytesHit |
number of bytes served from disk | |
long long | m_BytesMissed |
number of bytes served from remote and cached | |
long long | m_BytesBypassed |
number of bytes served directly through XrdCl | |
long long | m_BytesWritten |
number of bytes written to disk | |
int | m_NCksumErrors |
number of checksum errors while getting data from remote | |
Private Attributes | |
XrdSysMutex | m_Mutex |
Statistics of cache utilisation by a File object.
|
inline |
Referenced by Clone().
|
inline |
|
inline |
References m_BytesHit, and m_Mutex.
|
inline |
References m_BytesBypassed, m_BytesHit, m_BytesMissed, and m_Mutex.
|
inline |
References m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, m_NCksumErrors, and m_NumIos.
|
inline |
References m_BytesWritten, m_Mutex, and m_NCksumErrors.
|
inline |
References m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, m_NCksumErrors, and m_NumIos.
|
inline |
References m_Duration, and m_Mutex.
|
inline |
References m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, m_NCksumErrors, and m_NumIos.
long long XrdPfc::Stats::m_BytesBypassed |
number of bytes served directly through XrdCl
Referenced by AddReadStats(), AddUp(), DeltaToReference(), and Reset().
long long XrdPfc::Stats::m_BytesHit |
number of bytes served from disk
Referenced by AddBytesHit(), AddReadStats(), AddUp(), DeltaToReference(), and Reset().
long long XrdPfc::Stats::m_BytesMissed |
number of bytes served from remote and cached
Referenced by AddReadStats(), AddUp(), DeltaToReference(), and Reset().
long long XrdPfc::Stats::m_BytesWritten |
number of bytes written to disk
Referenced by AddUp(), AddWriteStats(), DeltaToReference(), and Reset().
int XrdPfc::Stats::m_Duration |
total duration of all IOs attached
Referenced by AddUp(), DeltaToReference(), IoDetach(), and Reset().
|
private |
Referenced by AddBytesHit(), AddReadStats(), AddWriteStats(), Clone(), IoAttach(), and IoDetach().
int XrdPfc::Stats::m_NCksumErrors |
number of checksum errors while getting data from remote
Referenced by AddUp(), AddWriteStats(), DeltaToReference(), and Reset().
int XrdPfc::Stats::m_NumIos |
number of IO objects attached during this access
Referenced by AddUp(), DeltaToReference(), IoAttach(), and Reset().