Commit 3cb1e6f1 authored by Ondrej Vysocky's avatar Ondrej Vysocky
Browse files

FIX typo in define HAVE_MSR_CORE_H #52 #59

parent aeb3fb93
...@@ -50,7 +50,7 @@ int Meric::getDefaultParameters() ...@@ -50,7 +50,7 @@ int Meric::getDefaultParameters()
defaultParameter.frequency = mutils::frequencyToHz(mutils::getenv("MERIC_FREQUENCY", std::string(""))); defaultParameter.frequency = mutils::frequencyToHz(mutils::getenv("MERIC_FREQUENCY", std::string("")));
defaultParameter.uncoreFrequency = mutils::frequencyToHz(mutils::getenv("MERIC_UNCORE_FREQUENCY", std::string(""))); defaultParameter.uncoreFrequency = mutils::frequencyToHz(mutils::getenv("MERIC_UNCORE_FREQUENCY", std::string("")));
#if defined (HAVE_CPUFREQ_H) || defined (HAVE_X86_ADAPT_H) || defined (HAVE_MSR_DORE_H) #if defined (HAVE_CPUFREQ_H) || defined (HAVE_X86_ADAPT_H) || defined (HAVE_MSR_CORE_H)
if (defaultParameter.frequency < 0) if (defaultParameter.frequency < 0)
{ {
std::cerr << "MERIC ERROR: set MERIC_FREQUENCY [Hz]\n"; std::cerr << "MERIC ERROR: set MERIC_FREQUENCY [Hz]\n";
...@@ -100,7 +100,7 @@ int Meric::getDefaultParameters() ...@@ -100,7 +100,7 @@ int Meric::getDefaultParameters()
MERIC_INFO << "Default frequency: " << defaultParameter.frequency << "\n"; MERIC_INFO << "Default frequency: " << defaultParameter.frequency << "\n";
MERIC_INFO << "Default uncore frequency: " << defaultParameter.uncoreFrequency << "\n"; MERIC_INFO << "Default uncore frequency: " << defaultParameter.uncoreFrequency << "\n";
std::string outputFilenameSuffix = mutils::getenv("MERIC_OUTPUT_FILENAME", ""); std::string outputFilenameSuffix = mutils::getenv("MERIC_OUTPUT_FILENAME", std::string(""));
if (outputFilenameSuffix.size() == 0) if (outputFilenameSuffix.size() == 0)
{ {
if (Meric::outputFilenameInfo.size() == 0) if (Meric::outputFilenameInfo.size() == 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