From af092ef5c3f71b1be1c1ffbad21bc1621c88f21f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 12 Jul 2011 13:25:18 +0000 Subject: 2011-07-12 Joel Sherrill * psxtmnanosleep01/init.c, psxtmsleep01/init.c: Do not divide by OPERATION_COUNT on single shot times. --- testsuites/psxtmtests/psxtmsleep01/init.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'testsuites/psxtmtests/psxtmsleep01/init.c') 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 ); -- cgit v1.2.3