![]() |
XRootD
|
Statistics of cache utilisation by a File object. More...
#include <XrdPfcStats.hh>
Public Member Functions | |
Stats ()=default | |
Stats (const Stats &a, const Stats &b) | |
Stats (const Stats &s)=default | |
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) |
long long | BytesRead () const |
long long | BytesReadAndWritten () const |
void | DeltaToReference (const Stats &ref) |
void | IoAttach () |
void | IoDetach (int duration) |
Stats & | operator= (const Stats &)=default |
void | Reset () |
Public Attributes | |
long long | m_BytesBypassed = 0 |
number of bytes served directly through XrdCl More... | |
long long | m_BytesHit = 0 |
number of bytes served from disk More... | |
long long | m_BytesMissed = 0 |
number of bytes served from remote and cached More... | |
long long | m_BytesWritten = 0 |
number of bytes written to disk More... | |
int | m_Duration = 0 |
total duration of all IOs attached More... | |
int | m_NCksumErrors = 0 |
number of checksum errors while getting data from remote More... | |
int | m_NumIos = 0 |
number of IO objects attached during this access More... | |
long long | m_StBlocksAdded = 0 |
number of 512-byte blocks the file has grown by More... | |
Statistics of cache utilisation by a File object.
Definition at line 34 of file XrdPfcStats.hh.
|
default |
|
default |
Definition at line 54 of file XrdPfcStats.hh.
|
inline |
Definition at line 74 of file XrdPfcStats.hh.
References m_BytesHit.
Referenced by XrdPfc::File::Read(), and XrdPfc::File::ReadV().
|
inline |
Definition at line 67 of file XrdPfcStats.hh.
References m_BytesBypassed, m_BytesHit, and m_BytesMissed.
|
inline |
Definition at line 119 of file XrdPfcStats.hh.
References m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, m_NCksumErrors, m_NumIos, and m_StBlocksAdded.
Referenced by XrdPfc::DirStats::AddUp(), and XrdPfc::ResourceMonitor::register_file_update_stats().
|
inline |
Definition at line 79 of file XrdPfcStats.hh.
References m_BytesWritten, and m_NCksumErrors.
|
inline |
Definition at line 97 of file XrdPfcStats.hh.
References m_BytesBypassed, m_BytesHit, and m_BytesMissed.
Referenced by BytesReadAndWritten().
|
inline |
Definition at line 102 of file XrdPfcStats.hh.
References BytesRead(), and m_BytesWritten.
|
inline |
Definition at line 107 of file XrdPfcStats.hh.
References m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, m_NCksumErrors, m_NumIos, and m_StBlocksAdded.
Referenced by XrdPfc::DirStats::DeltaToReference().
|
inline |
Definition at line 85 of file XrdPfcStats.hh.
References m_NumIos.
Referenced by XrdPfc::File::AddIO().
|
inline |
Definition at line 90 of file XrdPfcStats.hh.
References m_Duration.
Referenced by XrdPfc::File::RemoveIO().
|
inline |
Definition at line 131 of file XrdPfcStats.hh.
References m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, m_NCksumErrors, m_NumIos, and m_StBlocksAdded.
Referenced by XrdPfc::DirStats::Reset().
long long XrdPfc::Stats::m_BytesBypassed = 0 |
number of bytes served directly through XrdCl
Definition at line 41 of file XrdPfcStats.hh.
Referenced by AddReadStats(), AddUp(), BytesRead(), DeltaToReference(), XrdPfc::DirState::dump_recursively(), Reset(), and XrdPfc::Info::WriteIOStat().
long long XrdPfc::Stats::m_BytesHit = 0 |
number of bytes served from disk
Definition at line 39 of file XrdPfcStats.hh.
Referenced by AddBytesHit(), AddReadStats(), AddUp(), BytesRead(), DeltaToReference(), XrdPfc::DirState::dump_recursively(), Reset(), and XrdPfc::Info::WriteIOStat().
long long XrdPfc::Stats::m_BytesMissed = 0 |
number of bytes served from remote and cached
Definition at line 40 of file XrdPfcStats.hh.
Referenced by AddReadStats(), AddUp(), BytesRead(), DeltaToReference(), XrdPfc::DirState::dump_recursively(), Reset(), and XrdPfc::Info::WriteIOStat().
long long XrdPfc::Stats::m_BytesWritten = 0 |
number of bytes written to disk
Definition at line 42 of file XrdPfcStats.hh.
Referenced by AddUp(), AddWriteStats(), BytesReadAndWritten(), DeltaToReference(), XrdPfc::DirState::dump_recursively(), XrdPfc::Cache::ExecuteCommandUrl(), and Reset().
int XrdPfc::Stats::m_Duration = 0 |
total duration of all IOs attached
Definition at line 38 of file XrdPfcStats.hh.
Referenced by AddUp(), DeltaToReference(), XrdPfc::DirState::dump_recursively(), IoDetach(), Reset(), and XrdPfc::Info::WriteIOStat().
int XrdPfc::Stats::m_NCksumErrors = 0 |
number of checksum errors while getting data from remote
Definition at line 44 of file XrdPfcStats.hh.
Referenced by AddUp(), AddWriteStats(), DeltaToReference(), and Reset().
int XrdPfc::Stats::m_NumIos = 0 |
number of IO objects attached during this access
Definition at line 37 of file XrdPfcStats.hh.
Referenced by AddUp(), DeltaToReference(), XrdPfc::DirState::dump_recursively(), IoAttach(), Reset(), and XrdPfc::Info::WriteIOStat().
long long XrdPfc::Stats::m_StBlocksAdded = 0 |
number of 512-byte blocks the file has grown by
Definition at line 43 of file XrdPfcStats.hh.
Referenced by AddUp(), DeltaToReference(), XrdPfc::Cache::ExecuteCommandUrl(), Reset(), and XrdPfc::DirUsage::update_from_stats().