com.google.caliper.model
Annotation Type ArbitraryMeasurement


@Retention(value=RUNTIME)
@Target(value=METHOD)
public @interface ArbitraryMeasurement

Annotation that identifies a given method as an "arbitrary measurement" method. The method should take no parameters and return a double, which is the measured value.

Author:
schmoe@google.com (mike nonemacher)

Optional Element Summary
 String description
          Text description of the quantity measured by this measurement method.
 String units
          The units for the value returned by this measurement method.
 

units

public abstract String units
The units for the value returned by this measurement method.

Default:
""

description

public abstract String description
Text description of the quantity measured by this measurement method.

Default:
""


Copyright © 2009-2011 Google, Inc.. All Rights Reserved.