Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ondrej Vysocky
meric
Commits
6d748551
Commit
6d748551
authored
Feb 15, 2019
by
Ondrej Vysocky
Browse files
ENH error message
#62
parent
b03a8f2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/meric/meric.cpp
View file @
6d748551
...
...
@@ -52,7 +52,7 @@ int Meric::getDefaultParameters()
#if defined (HAVE_CPUFREQ_H) || HAVE_X86_ADAPT_H
if
(
defaultParameter
.
frequency
<
0
)
{
std
::
cerr
<<
"MERIC ERROR: set MERIC_FREQUENCY
\n
"
;
std
::
cerr
<<
"MERIC ERROR: set MERIC_FREQUENCY
[Hz]
\n
"
;
ret
=
1
;
}
else
if
(
defaultParameter
.
frequency
!=
0
)
...
...
@@ -65,7 +65,7 @@ int Meric::getDefaultParameters()
#ifdef HAVE_X86_ADAPT_H
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
;
}
else
if
(
defaultParameter
.
uncoreFrequency
!=
0
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment