Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-pinocchio
Commits
942eec05
Unverified
Commit
942eec05
authored
Mar 19, 2019
by
Guilhem Saurel
Committed by
GitHub
Mar 19, 2019
Browse files
Merge pull request #87 from nim65s/devel
s/BOOST_MESSAGE/BOOST_TEST_MESSAGE
parents
42a47be3
1c236cda
Pipeline
#3689
passed with stage
in 9 minutes and 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/device-sync.cc
View file @
942eec05
...
...
@@ -114,7 +114,7 @@ BOOST_AUTO_TEST_CASE (check_synchronization)
compute_forward_kinematics
(
robot
,
qs
[
i
],
res_single
[
i
]);
bpt
::
ptime
t1
=
bpt
::
microsec_clock
::
local_time
();
BOOST_MESSAGE
(
"1 thread: "
<<
(
t1
-
t0
).
total_milliseconds
()
<<
"ms"
);
BOOST_
TEST_
MESSAGE
(
"1 thread: "
<<
(
t1
-
t0
).
total_milliseconds
()
<<
"ms"
);
t0
=
bpt
::
microsec_clock
::
local_time
();
// In a multi threaded fashion, compute the joint positions
...
...
@@ -123,7 +123,7 @@ BOOST_AUTO_TEST_CASE (check_synchronization)
compute_forward_kinematics_thread_safe
(
robot
,
qs
[
i
],
res_multi
[
i
]);
t1
=
bpt
::
microsec_clock
::
local_time
();
BOOST_MESSAGE
(
Nthreads
<<
" threads: "
<<
(
t1
-
t0
).
total_milliseconds
()
<<
"ms"
);
BOOST_
TEST_
MESSAGE
(
Nthreads
<<
" threads: "
<<
(
t1
-
t0
).
total_milliseconds
()
<<
"ms"
);
// Check the results
for
(
std
::
size_t
i
=
0
;
i
<
qs
.
size
();
++
i
)
{
...
...
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