Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
xenomai4
libevl
Commits
1fcb2777
Commit
1fcb2777
authored
May 31, 2020
by
Philippe Gerum
Browse files
benchmarks/latmus: do not display priority if n/a
Signed-off-by:
Philippe Gerum
<
rpm@xenomai.org
>
parent
7c5234dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
benchmarks/latmus.c
View file @
1fcb2777
...
...
@@ -310,11 +310,12 @@ static void log_results(struct latmus_measurement *meas,
if
(
verbosity
>
0
&&
data_lines
&&
(
round
%
data_lines
)
==
0
)
{
time
(
&
now
);
dt
=
now
-
start_time
;
printf
(
"RTT| %.2ld:%.2ld:%.2ld "
"(%s, %u us period, priority %d, CPU%d%s)
\n
"
,
printf
(
"RTT| %.2ld:%.2ld:%.2ld (%s, %u us period,"
,
dt
/
3600
,
(
dt
/
60
)
%
60
,
dt
%
60
,
context_labels
[
context_type
],
period_usecs
,
responder_priority
,
context_labels
[
context_type
],
period_usecs
);
if
(
context_type
!=
EVL_LAT_IRQ
&&
context_type
!=
EVL_LAT_SIRQ
)
printf
(
" priority %d,"
,
responder_priority
);
printf
(
" CPU%d%s)
\n
"
,
responder_cpu
,
responder_cpu_state
&
EVL_CPU_ISOL
?
""
:
"-noisol"
);
printf
(
"RTH|%11s|%11s|%11s|%8s|%6s|%11s|%11s
\n
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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