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
tapasco
tapasco
Commits
f3f4df2a
Commit
f3f4df2a
authored
May 26, 2017
by
Jens Korinth
Browse files
tapasco_benchmark: Fix bug in Platform guess
* now using host name as platform, if unknown
parent
63d0282e
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/tests/tapasco_benchmark.cpp
View file @
f3f4df2a
...
@@ -70,7 +70,8 @@ int main(int argc, const char *argv[]) {
...
@@ -70,7 +70,8 @@ int main(int argc, const char *argv[]) {
cerr
<<
"Could not get host name, guessing vc709 Platform"
<<
endl
;
cerr
<<
"Could not get host name, guessing vc709 Platform"
<<
endl
;
else
{
else
{
cout
<<
"Host name: "
<<
n
<<
endl
;
cout
<<
"Host name: "
<<
n
<<
endl
;
if
(
string
(
n
).
compare
(
"zed"
)
==
0
||
string
(
n
).
compare
(
"zedboard"
))
platform
=
n
;
if
(
string
(
n
).
compare
(
"zed"
)
==
0
||
string
(
n
).
compare
(
"zedboard"
)
==
0
)
platform
=
"zedboard"
;
platform
=
"zedboard"
;
if
(
string
(
n
).
compare
(
"zc706"
)
==
0
)
if
(
string
(
n
).
compare
(
"zc706"
)
==
0
)
platform
=
"zc706"
;
platform
=
"zc706"
;
...
...
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
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