summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtmtests/psxtmnanosleep01
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtmtests/psxtmnanosleep01')
-rw-r--r--testsuites/psxtmtests/psxtmnanosleep01/init.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/testsuites/psxtmtests/psxtmnanosleep01/init.c b/testsuites/psxtmtests/psxtmnanosleep01/init.c
index 08cac6c4c2..a8b3af69c5 100644
--- a/testsuites/psxtmtests/psxtmnanosleep01/init.c
+++ b/testsuites/psxtmtests/psxtmnanosleep01/init.c
@@ -23,18 +23,17 @@ void *POSIX_Init(
{
long end_time;
struct timespec sleepTime;
+
sleepTime.tv_sec = 0;
sleepTime.tv_nsec = 0;
puts( "\n\n*** POSIX TIME TEST PSXTMNANOSLEEP01 ***" );
benchmark_timer_initialize();
-
- nanosleep(&sleepTime, (struct timespec *) NULL);
-
+ nanosleep( &sleepTime, (struct timespec *) NULL );
end_time = benchmark_timer_read();
- put_time("nanosleep - yield X ",end_time,OPERATION_COUNT,0,0);
+ put_time( "nanosleep - yield", end_time, 1, 0, 0 );
puts( "*** END OF POSIX TIME TEST PSXTMNANOSLEEP01 ***" );