summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmsleep01/init.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-12 13:25:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2011-07-12 13:25:18 +0000
commitaf092ef5c3f71b1be1c1ffbad21bc1621c88f21f (patch)
tree2b82de8454c57f799e2871f1d8dd3ac483cce2d9 /testsuites/psxtmtests/psxtmsleep01/init.c
parent2011-07-12 Ricardo Aguirre <el.mastin@ymail.com> (diff)
downloadrtems-af092ef5c3f71b1be1c1ffbad21bc1621c88f21f.tar.bz2
2011-07-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtmnanosleep01/init.c, psxtmsleep01/init.c: Do not divide by OPERATION_COUNT on single shot times.
Diffstat (limited to '')
-rw-r--r--testsuites/psxtmtests/psxtmsleep01/init.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/testsuites/psxtmtests/psxtmsleep01/init.c b/testsuites/psxtmtests/psxtmsleep01/init.c
index 2782f062a1..37ec5576ff 100644
--- a/testsuites/psxtmtests/psxtmsleep01/init.c
+++ b/testsuites/psxtmtests/psxtmsleep01/init.c
@@ -28,15 +28,13 @@ void *POSIX_Init(
puts( "\n\n*** POSIX TIME TEST PSXTMSLEEP01 ***" );
benchmark_timer_initialize();
-
sleep(0);
-
end_time = benchmark_timer_read();
put_time(
- "sleep - yield X ",
+ "sleep - yield",
end_time,
- OPERATION_COUNT,
+ 1,
0,
0
);