1#ifndef __XRDPFC_STATS_HH__
2#define __XRDPFC_STATS_HH__
Statistics of cache utilisation by a File object.
long long m_BytesMissed
number of bytes served from remote and cached
void AddReadStats(const Stats &s)
long long m_BytesBypassed
number of bytes served directly through XrdCl
void AddUp(const Stats &s)
void AddWriteStats(long long bytes_written, int n_cks_errs)
int m_NCksumErrors
number of checksum errors while getting data from remote
Stats & operator=(const Stats &)=default
int m_Duration
total duration of all IOs attached
void AddBytesHit(long long bh)
int m_NumIos
number of IO objects attached during this access
long long m_BytesHit
number of bytes served from disk
long long m_BytesWritten
number of bytes written to disk
void IoDetach(int duration)
void DeltaToReference(const Stats &ref)