Go to the documentation of this file. 1 #ifndef __XRD_STATISTICS_SERVICE_H_
2 #define __XRD_STATISTICS_SERVICE_H_
20 class CondorStatusService;
27 class XrdReadStatistics;
28 class XrdSiteStatistics;
52 std::vector<std::pair<std::string, CondorIOStats>>
condorUpdate();
66 static std::atomic<XrdSiteStatisticsInformation *>
m_instance;
68 std::vector<edm::propagate_const<std::shared_ptr<XrdSiteStatistics>>>
m_sites;
85 static std::shared_ptr<XrdReadStatistics>
startRead(std::shared_ptr<XrdSiteStatistics>
parent,
86 std::shared_ptr<ClientRequest> req);
125 std::chrono::time_point<std::chrono::high_resolution_clock>
m_start;
boost::date_time::subsecond_duration< boost::posix_time::time_duration, 1000000000 > nanoseconds
void finishRead(XrdReadStatistics const &)
XrdSiteStatistics(std::string const &site)
std::atomic< uint64_t > m_readvNS
std::atomic< unsigned > m_chunkCount
edm::propagate_const< std::shared_ptr< XrdSiteStatistics > > m_parent
XrdStatisticsService(const edm::ParameterSet &iPS, edm::ActivityRegistry &iRegistry)
std::atomic< unsigned > m_readvCount
std::chrono::nanoseconds getTotalReadTime()
static std::shared_ptr< XrdReadStatistics > startRead(std::shared_ptr< XrdSiteStatistics > parent, std::shared_ptr< ClientRequest > req)
XrdSiteStatistics & operator=(const XrdSiteStatistics &)=delete
std::atomic< uint64_t > m_readNS
uint64_t getTotalBytes() const
XrdReadStatistics(const XrdReadStatistics &)=delete
void recomputeProperties(std::map< std::string, std::string > &props)
std::atomic< uint64_t > m_readSize
uint64_t elapsedNS() const
XrdReadStatistics & operator=(const XrdReadStatistics &)=delete
std::vector< std::pair< std::string, CondorIOStats > > condorUpdate()
std::chrono::nanoseconds transferTime
unsigned long long uint64_t
std::atomic< unsigned > m_readCount
std::atomic< uint64_t > m_readvSize
std::chrono::time_point< std::chrono::high_resolution_clock > m_start
void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const std::string & site() const