Thread.sleep(invocationTimeMS);
checker.totalInvTimeMS += invocationTimeMS;
int ranges = r.nextInt(RANGES_TO_MOVE / loopCount);
int bytes = r.nextInt(BYTES_TO_MOVE / loopCount);
int rows = r.nextInt(ROWS_TO_MOVE / loopCount);
bps.logBalanceEnds(ranges, bytes, TimeUnit.MILLISECONDS.toNanos(invocationTimeMS), TimeUnit.MILLISECONDS.toNanos(invocationTimeMS), rows);
checker.update(ranges, bytes, rows);
checker.check(bps.getLastStatsPoint());
int idleTimeMS = r.nextInt(IDLE_SLEEP_MILLIS);
Thread.sleep(idleTimeMS);
}