#include <XrdStatistics.h>
Public Member Functions | |
std::shared_ptr< XrdSiteStatistics > | getStatisticsForSite (std::string const &site) |
Static Public Member Functions | |
static XrdSiteStatisticsInformation * | getInstance () |
Static Private Member Functions | |
static void | createInstance () |
Private Attributes | |
std::mutex | m_mutex |
std::vector< edm::propagate_const< std::shared_ptr< XrdSiteStatistics > > > | m_sites |
Static Private Attributes | |
static std::atomic< XrdSiteStatisticsInformation * > | m_instance |
Friends | |
class | XrdStatisticsService |
Definition at line 55 of file XrdStatistics.h.
|
staticprivate |
Definition at line 76 of file XrdStatistics.cc.
References m_instance, and createJobs::tmp.
Referenced by XrdAdaptor::XrdStatisticsService::XrdStatisticsService().
|
static |
Definition at line 86 of file XrdStatistics.cc.
References m_instance.
Referenced by XrdAdaptor::XrdStatisticsService::condorUpdate(), and XrdAdaptor::XrdStatisticsService::postEndJob().
std::shared_ptr< XrdSiteStatistics > XrdSiteStatisticsInformation::getStatisticsForSite | ( | std::string const & | site | ) |
Definition at line 65 of file XrdStatistics.cc.
References edm::get_underlying_safe(), CommonMethods::lock(), m_mutex, m_sites, and dqmMemoryStats::stats.
|
friend |
Definition at line 56 of file XrdStatistics.h.
|
staticprivate |
Definition at line 66 of file XrdStatistics.h.
Referenced by createInstance(), and getInstance().
|
private |
Definition at line 67 of file XrdStatistics.h.
Referenced by getStatisticsForSite().
|
private |
Definition at line 68 of file XrdStatistics.h.
Referenced by getStatisticsForSite().