org.mentalog.util
Class Benchmarker

java.lang.Object
  extended by org.mentalog.util.Benchmarker
Direct Known Subclasses:
DetailedBenchmarker

public class Benchmarker
extends Object


Constructor Summary
Benchmarker()
           
Benchmarker(int warmup)
           
 
Method Summary
static Benchmarker instance()
           
 void mark()
           
 long measure()
           
 boolean measure(long lastTime)
           
 void reset()
           
 String results()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Benchmarker

public Benchmarker(int warmup)

Benchmarker

public Benchmarker()
Method Detail

instance

public static final Benchmarker instance()

reset

public void reset()

mark

public void mark()

measure

public long measure()

measure

public boolean measure(long lastTime)

results

public String results()


Copyright © 2013. All Rights Reserved.