#include <QualityMetric.h>
Public Member Functions | |
unsigned | get () |
QualityMetric (timespec now, int default_value=260) | |
Private Member Functions | |
void | finishWatch (timespec now, int ms) |
Private Attributes | |
int | m_interval0_n |
time_t | m_interval0_start |
int | m_interval0_val |
int | m_interval1_val |
int | m_interval2_val |
int | m_interval3_val |
int | m_interval4_val |
std::mutex | m_mutex |
int | m_value |
Static Private Attributes | |
static const unsigned | interval_length = 60 |
Friends | |
class | QualityMetricWatch |
Definition at line 38 of file QualityMetric.h.
QualityMetric::QualityMetric | ( | timespec | now, |
int | default_value = 260 |
||
) |
Definition at line 78 of file QualityMetric.cc.
|
private |
Definition at line 91 of file QualityMetric.cc.
References interval_length, m_interval0_n, m_interval0_start, m_interval0_val, m_interval1_val, m_interval2_val, m_interval3_val, m_interval4_val, m_mutex, m_value, AnalysisDataFormats_SUSYBSMObjects::ms, and pileupDistInMC::num.
unsigned QualityMetric::get | ( | void | ) |
Definition at line 115 of file QualityMetric.cc.
References CMS_THREAD_SAFE, XrdAdaptor::QualityMetricFactory::m_instance, m_interval0_val, m_interval1_val, m_interval2_val, m_interval3_val, m_interval4_val, m_mutex, and m_value.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
friend |
Definition at line 39 of file QualityMetric.h.
|
staticprivate |
Definition at line 48 of file QualityMetric.h.
Referenced by finishWatch().
|
private |
Definition at line 51 of file QualityMetric.h.
Referenced by finishWatch().
|
private |
Definition at line 53 of file QualityMetric.h.
Referenced by finishWatch().
|
private |
Definition at line 52 of file QualityMetric.h.
Referenced by finishWatch(), and get().
|
private |
Definition at line 54 of file QualityMetric.h.
Referenced by finishWatch(), and get().
|
private |
Definition at line 55 of file QualityMetric.h.
Referenced by finishWatch(), and get().
|
private |
Definition at line 56 of file QualityMetric.h.
Referenced by finishWatch(), and get().
|
private |
Definition at line 57 of file QualityMetric.h.
Referenced by finishWatch(), and get().
|
private |
Definition at line 59 of file QualityMetric.h.
Referenced by finishWatch(), and get().
|
private |
Definition at line 50 of file QualityMetric.h.
Referenced by finishWatch(), and get().