org.cometd.benchmark
Class BenchmarkHelper
java.lang.Object
org.cometd.benchmark.BenchmarkHelper
- All Implemented Interfaces:
- Runnable
public class BenchmarkHelper
- extends Object
- implements Runnable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BenchmarkHelper
public BenchmarkHelper()
run
public void run()
- Specified by:
run in interface Runnable
startStatistics
public boolean startStatistics()
stopStatistics
public boolean stopStatistics()
percent
public float percent(long dividend,
long divisor)
mebiBytes
public float mebiBytes(long bytes)
gibiBytes
public float gibiBytes(long bytes)
Copyright © 2008-2012 Dojo Foundation. All Rights Reserved.