long duration = 0;
for (int j = 0; j < iterations; j++) {
long start = System.currentTimeMillis();
for (Iterator e = PE.allPEs(); e.hasNext(); )
thread.start((PE) e.next(), join);
join.waitFor();
long stop = System.currentTimeMillis();
duration += (stop - start);
}
System.out.println(howMany + "\t" + (double) duration / (double)
iterations);