Package com.google.caliper.model

Examples of com.google.caliper.model.ArbitraryMeasurement.description()


      @WorkerOptions Map<String, String> workerOptions) {
    super(benchmark, method);
    this.options = new Options(workerOptions);
    ArbitraryMeasurement annotation = method.getAnnotation(ArbitraryMeasurement.class);
    this.unit = annotation.units();
    this.description = annotation.description();
  }

  @Override public void preMeasure() throws Exception {
    if (options.gcBeforeEach) {
      Util.forceGc();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.