org.cometd.benchmark
Class BenchmarkHelper

java.lang.Object
  extended by org.cometd.benchmark.BenchmarkHelper
All Implemented Interfaces:
Runnable

public class BenchmarkHelper
extends Object
implements Runnable


Constructor Summary
BenchmarkHelper()
           
 
Method Summary
 float gibiBytes(long bytes)
           
 float mebiBytes(long bytes)
           
 float percent(long dividend, long divisor)
           
 void run()
           
 boolean startStatistics()
           
 boolean stopStatistics()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BenchmarkHelper

public BenchmarkHelper()
Method Detail

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-2011 Dojo Foundation. All Rights Reserved.