diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-07-12 13:25:18 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-07-12 13:25:18 +0000 |
commit | af092ef5c3f71b1be1c1ffbad21bc1621c88f21f (patch) | |
tree | 2b82de8454c57f799e2871f1d8dd3ac483cce2d9 /testsuites/psxtmtests/psxtmsleep01 | |
parent | 2011-07-12 Ricardo Aguirre <el.mastin@ymail.com> (diff) | |
download | rtems-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 'testsuites/psxtmtests/psxtmsleep01')
-rw-r--r-- | testsuites/psxtmtests/psxtmsleep01/init.c | 6 |
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 ); |