Package com.google.caliper.model
Annotation Type AllocationMeasurement
-
@Retention(RUNTIME) @Target(METHOD) public @interface AllocationMeasurement
Annotation that identifies a given method as an "allocation measurement" method. The method should take a single int parameter; its return value may be any type. Methods with this annotation may be used with thecom.google.caliper.runner.AllocationInstrument.