com.google.caliper.worker
Class AllocationSizeWorker
java.lang.Object
com.google.caliper.worker.AllocationSizeWorker
- All Implemented Interfaces:
- Worker
public class AllocationSizeWorker
- extends Object
AllocationWorker
subclass that builds its Measurement
based on the
total number of bytes of allocations observed.
- Author:
- schmoe@google.com (mike nonemacher)
AllocationSizeWorker
public AllocationSizeWorker()
measure
public Collection<Measurement> measure(Benchmark benchmark,
String methodName,
Map<String,String> options,
WorkerEventLog log)
throws Exception
- Specified by:
measure
in interface Worker
- Throws:
Exception
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.