#include <XrdStatistics.h>
Public Member Functions | |
void | finishRead (XrdReadStatistics const &) |
XrdSiteStatistics & | operator= (const XrdSiteStatistics &)=delete |
void | recomputeProperties (std::map< std::string, std::string > &props) |
std::string const & | site () const |
XrdSiteStatistics (std::string const &site) | |
XrdSiteStatistics (const XrdSiteStatistics &)=delete | |
Static Public Member Functions | |
static std::shared_ptr< XrdReadStatistics > | startRead (std::shared_ptr< XrdSiteStatistics > parent, std::shared_ptr< ClientRequest > req) |
Private Attributes | |
std::atomic< unsigned > | m_chunkCount |
std::atomic< unsigned > | m_readCount |
std::atomic< uint64_t > | m_readNS |
std::atomic< uint64_t > | m_readSize |
std::atomic< unsigned > | m_readvCount |
std::atomic< uint64_t > | m_readvNS |
std::atomic< uint64_t > | m_readvSize |
const std::string | m_site = "Unknown" |
Friends | |
class | XrdReadStatistics |
Definition at line 65 of file XrdStatistics.h.
XrdSiteStatistics::XrdSiteStatistics | ( | std::string const & | site | ) |
Definition at line 92 of file XrdStatistics.cc.
|
delete |
void XrdSiteStatistics::finishRead | ( | XrdReadStatistics const & | readStats | ) |
Definition at line 147 of file XrdStatistics.cc.
References XrdAdaptor::XrdReadStatistics::elapsedNS(), m_chunkCount, m_readCount, m_readNS, m_readSize, m_readvCount, m_readvNS, m_readvSize, XrdAdaptor::XrdReadStatistics::readCount(), and XrdAdaptor::XrdReadStatistics::size().
|
delete |
void XrdSiteStatistics::recomputeProperties | ( | std::map< std::string, std::string > & | props | ) |
Definition at line 131 of file XrdStatistics.cc.
References d2str(), i2str(), m_chunkCount, m_readCount, m_readNS, m_readSize, m_readvCount, m_readvNS, and m_readvSize.
|
inline |
|
static |
Definition at line 105 of file XrdStatistics.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and XrdReadStatistics.
Referenced by XrdAdaptor::Source::handle().
|
friend |
Definition at line 67 of file XrdStatistics.h.
Referenced by startRead().
|
private |
Definition at line 88 of file XrdStatistics.h.
Referenced by finishRead(), and recomputeProperties().
|
private |
Definition at line 91 of file XrdStatistics.h.
Referenced by finishRead(), and recomputeProperties().
|
private |
Definition at line 93 of file XrdStatistics.h.
Referenced by finishRead(), and recomputeProperties().
|
private |
Definition at line 92 of file XrdStatistics.h.
Referenced by finishRead(), and recomputeProperties().
|
private |
Definition at line 87 of file XrdStatistics.h.
Referenced by finishRead(), and recomputeProperties().
|
private |
Definition at line 90 of file XrdStatistics.h.
Referenced by finishRead(), and recomputeProperties().
|
private |
Definition at line 89 of file XrdStatistics.h.
Referenced by finishRead(), and recomputeProperties().
|
private |
Definition at line 85 of file XrdStatistics.h.