Statistics of cache utilisation by a File object. More...
#include <XrdPfcStats.hh>
Public Member Functions | |
Stats () | |
Stats (const Stats &s) | |
void | AddBytesHit (long long bh) |
void | AddReadStats (const Stats &s) |
void | AddUp (const Stats &s) |
void | AddWriteStats (long long bytes_written, int n_cks_errs) |
Stats | Clone () |
void | DeltaToReference (const Stats &ref) |
void | IoAttach () |
void | IoDetach (int duration) |
Stats & | operator= (const Stats &)=default |
void | Reset () |
Public Attributes | |
long long | m_BytesBypassed |
number of bytes served directly through XrdCl | |
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_BytesWritten |
number of bytes written to disk | |
int | m_Duration |
total duration of all IOs attached | |
int | m_NCksumErrors |
number of checksum errors while getting data from remote | |
int | m_NumIos |
number of IO objects attached during this access |
Statistics of cache utilisation by a File object.
Definition at line 30 of file XrdPfcStats.hh.
|
inline |
Definition at line 43 of file XrdPfcStats.hh.
References m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, m_NCksumErrors, and m_NumIos.
Referenced by Stats(), AddReadStats(), AddUp(), Clone(), DeltaToReference(), and operator=().
|
inline |
Definition at line 49 of file XrdPfcStats.hh.
References Stats(), m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, m_NCksumErrors, and m_NumIos.
|
inline |
Definition at line 68 of file XrdPfcStats.hh.
References m_BytesHit.
|
inline |
Definition at line 59 of file XrdPfcStats.hh.
References Stats(), m_BytesBypassed, m_BytesHit, and m_BytesMissed.
|
inline |
Definition at line 118 of file XrdPfcStats.hh.
References Stats(), m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, m_NCksumErrors, and m_NumIos.
|
inline |
Definition at line 75 of file XrdPfcStats.hh.
References m_BytesWritten, and m_NCksumErrors.
|
inline |
Definition at line 97 of file XrdPfcStats.hh.
References Stats().
Referenced by XrdPfc::File::DeltaStatsFromLastCall(), XrdPfc::File::FinalizeSyncBeforeExit(), and XrdPfc::File::Sync().
|
inline |
Definition at line 106 of file XrdPfcStats.hh.
References Stats(), m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, m_NCksumErrors, and m_NumIos.
Referenced by XrdPfc::File::DeltaStatsFromLastCall().
|
inline |
Definition at line 83 of file XrdPfcStats.hh.
References m_NumIos.
|
inline |
Definition at line 90 of file XrdPfcStats.hh.
References m_Duration.
|
inline |
Definition at line 130 of file XrdPfcStats.hh.
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
Definition at line 37 of file XrdPfcStats.hh.
Referenced by Stats(), Stats(), AddReadStats(), AddUp(), DeltaToReference(), Reset(), and XrdPfc::Info::WriteIOStat().
long long XrdPfc::Stats::m_BytesHit |
number of bytes served from disk
Definition at line 35 of file XrdPfcStats.hh.
Referenced by Stats(), Stats(), AddBytesHit(), AddReadStats(), AddUp(), DeltaToReference(), Reset(), and XrdPfc::Info::WriteIOStat().
long long XrdPfc::Stats::m_BytesMissed |
number of bytes served from remote and cached
Definition at line 36 of file XrdPfcStats.hh.
Referenced by Stats(), Stats(), AddReadStats(), AddUp(), DeltaToReference(), Reset(), and XrdPfc::Info::WriteIOStat().
long long XrdPfc::Stats::m_BytesWritten |
number of bytes written to disk
Definition at line 38 of file XrdPfcStats.hh.
Referenced by Stats(), Stats(), AddUp(), AddWriteStats(), DeltaToReference(), and Reset().
int XrdPfc::Stats::m_Duration |
total duration of all IOs attached
Definition at line 34 of file XrdPfcStats.hh.
Referenced by Stats(), Stats(), AddUp(), DeltaToReference(), IoDetach(), Reset(), and XrdPfc::Info::WriteIOStat().
int XrdPfc::Stats::m_NCksumErrors |
number of checksum errors while getting data from remote
Definition at line 39 of file XrdPfcStats.hh.
Referenced by Stats(), Stats(), AddUp(), AddWriteStats(), DeltaToReference(), and Reset().
int XrdPfc::Stats::m_NumIos |
number of IO objects attached during this access
Definition at line 33 of file XrdPfcStats.hh.
Referenced by Stats(), Stats(), AddUp(), DeltaToReference(), IoAttach(), Reset(), and XrdPfc::Info::WriteIOStat().