1 #ifndef Utilities_XrdAdaptor_QualityMetric_h 2 #define Utilities_XrdAdaptor_QualityMetric_h 9 #include "tbb/concurrent_unordered_map.h" 10 #include <boost/utility.hpp> 46 void finishWatch(timespec
now,
int ms);
48 static const unsigned interval_length = 60;
68 std::unique_ptr<QualityMetricSource>
get(timespec
now,
const std::string &
id);
72 typedef tbb::concurrent_unordered_map<std::string, QualityMetricUniqueSource*>
MetricMap;
102 std::unique_ptr<QualityMetricSource> newSource(timespec
now);
107 #endif // Utilities_XrdAdaptor_QualityMetric_h static boost::mutex mutex
edm::propagate_const< QualityMetric * > m_parent2
QualityMetricUniqueSource & m_parent
tbb::concurrent_unordered_map< std::string, QualityMetricUniqueSource * > MetricMap
void swap(QualityMetricWatch &)
friend class QualityMetricSource
static QualityMetricFactory m_instance
edm::propagate_const< QualityMetric * > m_parent1