Commit 67df046c authored by Michael Ott's avatar Michael Ott
Browse files

Cosmetical changes to printConfig()

parent e277376e
......@@ -79,8 +79,8 @@ class MSRSensorBase : public SensorBase {
void printConfig(LOG_LEVEL ll, LOGGER &lg, unsigned leadingSpaces = 16) {
std::string leading(leadingSpaces, ' ');
LOG_VAR(ll) << leading << " CPU: " << _cpu;
LOG_VAR(ll) << leading << " Metric: " << _metric;
LOG_VAR(ll) << leading << " CPU: " << _cpu;
LOG_VAR(ll) << leading << " Metric: " << std::showbase << std::hex << _metric;
}
protected:
......
......@@ -94,8 +94,8 @@ class PerfSensorBase : public SensorBase {
void printConfig(LOG_LEVEL ll, LOGGER &lg, unsigned leadingSpaces = 16) {
std::string leading(leadingSpaces, ' ');
LOG_VAR(ll) << leading << " Type: " << _type;
LOG_VAR(ll) << leading << " Config: " << _config;
LOG_VAR(ll) << leading << " Type: " << std::showbase << std::hex << _type;
LOG_VAR(ll) << leading << " Config: " << std::showbase << std::hex << _config;
LOG_VAR(ll) << leading << " CPU: " << _cpu;
}
......
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