com.google.caliper.worker
Class AllocationCountWorker

java.lang.Object
  extended by com.google.caliper.worker.AllocationCountWorker
All Implemented Interfaces:
Worker

public class AllocationCountWorker
extends Object

AllocationWorker subclass that builds its Measurement based on the number of allocations observed.

Author:
schmoe@google.com (mike nonemacher)

Constructor Summary
AllocationCountWorker()
           
 
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

AllocationCountWorker

public AllocationCountWorker()
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.