From 414f4bd7e70d94025576d9264c86da63c506f6ca Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 13 Aug 2003 15:10:53 +0000 Subject: Bug fixes plus adaptation to current MinGW/MsysDTK environment. Changes to tests/benchmarks. --- tests/benchtest5.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/benchtest5.c') diff --git a/tests/benchtest5.c b/tests/benchtest5.c index b7d3225..0b48d9f 100644 --- a/tests/benchtest5.c +++ b/tests/benchtest5.c @@ -78,7 +78,7 @@ reportTest (char * testNameString) { durationMilliSecs = GetDurationMilliSecs(currSysTimeStart, currSysTimeStop) - overHeadMilliSecs; - printf( "%-40s %15ld %15.3f\n", + printf( "%-45s %15ld %15.3f\n", testNameString, durationMilliSecs, (float) durationMilliSecs * 1E3 / ITERATIONS); @@ -88,14 +88,14 @@ reportTest (char * testNameString) int main (int argc, char *argv[]) { - printf( "========================================================================\n"); + printf( "=============================================================================\n"); printf( "\nOperations on a semaphore.\n%ld iterations\n\n", ITERATIONS); - printf( "%-40s %15s %15s\n", + printf( "%-45s %15s %15s\n", "Test", "Total(msec)", "average(usec)"); - printf( "------------------------------------------------------------------------\n"); + printf( "-----------------------------------------------------------------------------\n"); /* * Time the loop overhead so we can subtract it from the actual test times. @@ -165,7 +165,7 @@ main (int argc, char *argv[]) reportTest("Wait then Post without blocking"); - printf( "========================================================================\n"); + printf( "=============================================================================\n"); /* * End of tests. -- cgit v1.2.3