Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Linux-Kernel
libevl
Commits
64138139
Commit
64138139
authored
Jul 04, 2020
by
Philippe Gerum
Browse files
tests: fpu-stress: check usleep status
Signed-off-by:
Philippe Gerum
<
rpm@xenomai.org
>
parent
4148aaba
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/fpu-stress.c
View file @
64138139
...
...
@@ -37,13 +37,13 @@ static int timeout_secs = 3; /* Default to 3s runtime. */
static
void
*
stress_loop
(
void
*
arg
)
{
int
tfd
;
int
tfd
,
ret
;
__Tcall_assert
(
tfd
,
evl_attach_self
(
"fpu-stresser:%d"
,
getpid
()));
for
(;;)
{
evl_set_fpregs
(
fp_features
,
0xf1f5f1f5
);
evl_usleep
(
TEST_PERIOD_USEC
);
__Tcall_assert
(
ret
,
evl_usleep
(
TEST_PERIOD_USEC
)
)
;
}
return
NULL
;
...
...
Write
Preview
Markdown
is supported
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