Statistics of cache utilisation by a File object. More...
#include <XrdPfcStats.hh>
Public Member Functions | |
Stats () | |
Stats (const Stats &s) | |
Stats & | operator= (const Stats &) |
void | AddReadStats (const Stats &s) |
void | AddBytesWritten (long long bw) |
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 RAM | |
long long | m_BytesBypassed |
number of bytes served directly through XrdCl | |
long long | m_BytesWritten |
number of bytes written to disk | |
Private Attributes | |
XrdSysMutex | m_Mutex |
Statistics of cache utilisation by a File object.
XrdPfc::Stats::Stats | ( | ) | [inline] |
Referenced by Clone().
XrdPfc::Stats::Stats | ( | const Stats & | s | ) | [inline] |
void XrdPfc::Stats::AddBytesWritten | ( | long long | bw | ) | [inline] |
References m_BytesWritten, and m_Mutex.
void XrdPfc::Stats::AddReadStats | ( | const Stats & | s | ) | [inline] |
References m_BytesBypassed, m_BytesHit, m_BytesMissed, and m_Mutex.
void XrdPfc::Stats::AddUp | ( | const Stats & | s | ) | [inline] |
References m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, and m_NumIos.
void XrdPfc::Stats::DeltaToReference | ( | const Stats & | ref | ) | [inline] |
References m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, and m_NumIos.
void XrdPfc::Stats::IoDetach | ( | int | duration | ) | [inline] |
References m_Duration, and m_Mutex.
void XrdPfc::Stats::Reset | ( | ) | [inline] |
References m_BytesBypassed, m_BytesHit, m_BytesMissed, m_BytesWritten, m_Duration, 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 AddReadStats(), AddUp(), DeltaToReference(), and Reset().
long long XrdPfc::Stats::m_BytesMissed |
number of bytes served from RAM
Referenced by AddReadStats(), AddUp(), DeltaToReference(), and Reset().
long long XrdPfc::Stats::m_BytesWritten |
number of bytes written to disk
Referenced by AddBytesWritten(), AddUp(), DeltaToReference(), and Reset().
total duration of all IOs attached
Referenced by AddUp(), DeltaToReference(), IoDetach(), and Reset().
XrdSysMutex XrdPfc::Stats::m_Mutex [private] |
Referenced by AddBytesWritten(), AddReadStats(), Clone(), IoAttach(), and IoDetach().
number of IO objects attached during this access
Referenced by AddUp(), DeltaToReference(), IoAttach(), and Reset().