Commit 16a36578 authored by Carla Guillen's avatar Carla Guillen
Browse files

Adding more configuration for opa related metrics

parent d081feab
......@@ -68,6 +68,18 @@ void SMUCNGPerfConfigurator::sensorBase(SMUCSensorBase& s, CFG_VAL config) {
} else if(endsWith(name, "instructionsps")) {
_metricToPosition[SMUCSensorBase::INSTRUCTIONS_PER_SECOND] = position;
s.setMetric(SMUCSensorBase::INSTRUCTIONS_PER_SECOND);
} else if(endsWith(name, "networkxmit")){
_metricToPosition[SMUCSensorBase::NETWORK_XMIT] = position;
s.setMetric(SMUCSensorBase::NETWORK_XMIT);
} else if(endsWith(name, "networkrcvd")){
_metricToPosition[SMUCSensorBase::NETWORK_RCVD] = position;
s.setMetric(SMUCSensorBase::NETWORK_RCVD);
} else if (endsWith(name, "networkxmitps")){
_metricToPosition[SMUCSensorBase::NETWORK_BYTES_XMIT_PER_SECOND] = position;
s.setMetric(SMUCSensorBase::NETWORK_BYTES_XMIT_PER_SECOND);
} else if (endsWith(name, "ndtworkrcvdps")){
_metricToPosition[SMUCSensorBase::NETWORK_BYTES_RCVD_PER_SECOND] = position;
s.setMetric(SMUCSensorBase::NETWORK_BYTES_RCVD_PER_SECOND);
}
}
}
......
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