com.google.caliper.worker
Class AllocationSizeWorker

java.lang.Object
  extended by 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)

Constructor Summary
AllocationSizeWorker()
           
 
Method Summary
 Collection<Measurement> measure(Benchmark benchmark, String methodName, Map<String,String> options, WorkerEventLog log)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AllocationSizeWorker

public AllocationSizeWorker()
Method Detail

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.