ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/loops/UncheckedLockLoops.java
(Generate patch)

Comparing jsr166/src/test/loops/UncheckedLockLoops.java (file contents):
Revision 1.4 by jsr166, Thu Oct 29 23:09:08 2009 UTC vs.
Revision 1.6 by jsr166, Tue Nov 3 01:04:02 2009 UTC

# Line 53 | Line 53 | public final class UncheckedLockLoops {
53      }
54  
55      static void oneTest(int nthreads, int iters) throws Exception {
56 <        int fairIters = (nthreads <= 1)? iters : iters/20;
56 >        int fairIters = (nthreads <= 1) ? iters : iters/20;
57          int v = rng.next();
58  
59          if (print)
# Line 155 | Line 155 | public final class UncheckedLockLoops {
155              if (print) {
156                  long tpi = time / (iters * nthreads);
157                  System.out.print("\t" + LoopHelpers.rightJustify(tpi) + " ns per update");
158 <                //                double secs = (double)(time) / 1000000000.0;
158 >                //                double secs = (double) time / 1000000000.0;
159                  //                System.out.print("\t " + secs + "s run time");
160                  System.out.println();
161              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines