Starting from 2021-07-01, all LRZ GitLab users will be required to explicitly accept the GitLab Terms of Service. Please see the detailed information at https://doku.lrz.de/display/PUBLIC/GitLab and make sure that your projects conform to the requirements.

Commit 43aa3f3f authored by Carla Guillen's avatar Carla Guillen
Browse files

improving configuration comments

parent 231b0fa1
......@@ -94,6 +94,7 @@ void PerSystSqlOperator::copy(const PerSystSqlOperator& other){
}
void PerSystSqlOperator::printConfig(LOG_LEVEL ll) {
LOG_VAR(ll) << "PerSystSQL Operator " << _name;
LOG_VAR(ll) << "backend=" << _backend;
LOG_VAR(ll) << "go_back_ms=" << _go_back_ns/1e6;
LOG_VAR(ll) << "_scaling_factor=" << _scaling_factor;
......
......@@ -165,6 +165,7 @@ void SMUCNGPerfConfigurator::operatorAttributes(SMUCNGPerfOperator& op, CFG_VAL
op.setGoBackMs(go_back_ms);
}
}
_metricToPosition.clear();
}
bool SMUCNGPerfConfigurator::unit(UnitTemplate<SMUCSensorBase>& u) {
......
......@@ -86,9 +86,10 @@ void SMUCNGPerfOperator::copy(const SMUCNGPerfOperator& other){
void SMUCNGPerfOperator::printConfig(LOG_LEVEL ll) {
OperatorTemplate<SMUCSensorBase>::printConfig(ll);
LOG_VAR(ll) << "Operator " << _name << ":";
LOG_VAR(ll) << "Metric to position map size(" << _metricToPosition.size() << "):";
for(auto &kv : _metricToPosition){
LOG_VAR(ll) << "Metric = " << kv.first << " Position = " << kv.second;
LOG_VAR(ll) << "\tMetric = " << kv.first << " Position = " << kv.second;
}
LOG_VAR(ll) << "_measuring_interval_s = " << _measuring_interval_s;
LOG_VAR(ll) << "_go_back_ns = " << _go_back_ns;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment