65 |
|
test(4, 100, 100, collectionClass); |
66 |
|
print = true; |
67 |
|
|
68 |
– |
int k = 1; |
68 |
|
int warmups = 2; |
69 |
< |
for (int i = 1; i <= maxThreads;) { |
69 |
> |
for (int k = 1, i = 1; i <= maxThreads;) { |
70 |
|
Thread.sleep(100); |
71 |
|
test(i, nkeys, nops, collectionClass); |
72 |
|
if (warmups > 0) |
140 |
|
int total; |
141 |
|
int nops; |
142 |
|
|
143 |
< |
Runner(int id, Collection<Integer> collection, Integer[] key, CyclicBarrier barrier, int nops) { |
143 |
> |
Runner(int id, Collection<Integer> collection, Integer[] key, CyclicBarrier barrier, int nops) { |
144 |
|
this.collection = collection; |
145 |
|
this.key = key; |
146 |
|
this.barrier = barrier; |