com.google.caliper.model
Annotation Type AllocationMeasurement


@Retention(value=RUNTIME)
@Target(value=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 the AllocationInstrument or the AllocationSizeInstrument.

Author:
schmoe@google.com (mike nonemacher)



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