diff options
Diffstat (limited to 'ACE/performance-tests/Synch-Benchmarks/context.c')
-rw-r--r-- | ACE/performance-tests/Synch-Benchmarks/context.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ACE/performance-tests/Synch-Benchmarks/context.c b/ACE/performance-tests/Synch-Benchmarks/context.c index a2ce1c580e9..00850fda8e9 100644 --- a/ACE/performance-tests/Synch-Benchmarks/context.c +++ b/ACE/performance-tests/Synch-Benchmarks/context.c @@ -1,6 +1,6 @@ /* $Id$ */ #include <stdio.h> -// @(#)context.c 1.1 10/18/96 +// @(#)context.c 1.1 10/18/96 #include <stdlib.h> #include <thread.h> @@ -59,15 +59,15 @@ main (int argc, char *argv[]) rate = (count[0] + count[1]) / ((float) NSLEEP); printf ("\n------------------------------------------------------------------------\n"); printf ("t0arg 0x%x (%s, %s, %s)\nt1arg 0x%x (%s, %s, %s)\ncount[0] %d count[1] %d\n\ -ncorr_orig %d ncorr_set %d ncorr_end %d rate %.3f per_cxt %.2f usec\n", - t0arg, - (t0arg & THR_DETACHED) ? "THR_DETACHED" : "Not Detached", - (t0arg & THR_BOUND) ? "THR_BOUND" : "Not Bound", - (t0arg & THR_NEW_LWP) ? "THR_NEW_LWP" : "No New_LWP", - t1arg, - (t1arg & THR_DETACHED) ? "THR_DETACHED" : "Not Detached", - (t1arg & THR_BOUND) ? "THR_BOUND" : "Not Bound", - (t1arg & THR_NEW_LWP) ? "THR_NEW_LWP" : "No New_LWP", - count[0], count[1], - orig_ncorr, ncorr, thr_getconcurrency (), rate, 1.0e6 / rate); + ncorr_orig %d ncorr_set %d ncorr_end %d rate %.3f per_cxt %.2f usec\n", + t0arg, + (t0arg & THR_DETACHED) ? "THR_DETACHED" : "Not Detached", + (t0arg & THR_BOUND) ? "THR_BOUND" : "Not Bound", + (t0arg & THR_NEW_LWP) ? "THR_NEW_LWP" : "No New_LWP", + t1arg, + (t1arg & THR_DETACHED) ? "THR_DETACHED" : "Not Detached", + (t1arg & THR_BOUND) ? "THR_BOUND" : "Not Bound", + (t1arg & THR_NEW_LWP) ? "THR_NEW_LWP" : "No New_LWP", + count[0], count[1], + orig_ncorr, ncorr, thr_getconcurrency (), rate, 1.0e6 / rate); } |