96979899100101102103104105106
final CaliperBench bench = (CaliperBench) runner.getBenchmark(); final CaliperMeasure measure = bench.measure(); measure.variables().putAll(vars); /** call timeXXX() */ runner.run(0); /** call tearDown() */ runner.close(); measure.appendTo(run);