Commit 6d748551 authored by Ondrej Vysocky's avatar Ondrej Vysocky
Browse files

ENH error message #62

parent b03a8f2e
...@@ -52,7 +52,7 @@ int Meric::getDefaultParameters() ...@@ -52,7 +52,7 @@ int Meric::getDefaultParameters()
#if defined (HAVE_CPUFREQ_H) || HAVE_X86_ADAPT_H #if defined (HAVE_CPUFREQ_H) || HAVE_X86_ADAPT_H
if (defaultParameter.frequency < 0) if (defaultParameter.frequency < 0)
{ {
std::cerr << "MERIC ERROR: set MERIC_FREQUENCY\n"; std::cerr << "MERIC ERROR: set MERIC_FREQUENCY [Hz]\n";
ret = 1; ret = 1;
} }
else if (defaultParameter.frequency != 0) else if (defaultParameter.frequency != 0)
...@@ -65,7 +65,7 @@ int Meric::getDefaultParameters() ...@@ -65,7 +65,7 @@ int Meric::getDefaultParameters()
#ifdef HAVE_X86_ADAPT_H #ifdef HAVE_X86_ADAPT_H
if (defaultParameter.uncoreFrequency < 0) if (defaultParameter.uncoreFrequency < 0)
{ {
std::cerr << "MERIC ERROR: set MERIC_UNCORE_FREQUENCY\n"; std::cerr << "MERIC ERROR: set MERIC_UNCORE_FREQUENCY [Hz]\n";
ret = 1; ret = 1;
} }
else if (defaultParameter.uncoreFrequency != 0) else if (defaultParameter.uncoreFrequency != 0)
......
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