7677787980818283848586
final long stop = start + (10 * MILIS); int iterations = 0; while (System.currentTimeMillis() < stop) { iterations++; train.iteration(); } return iterations; }