bb.util
Class Benchmark.LfsrAdvancer

java.lang.Object
  extended by bb.util.Benchmark.LfsrAdvancer
All Implemented Interfaces:
Runnable
Enclosing class:
Benchmark

public static class Benchmark.LfsrAdvancer
extends Object
implements Runnable

The run method of this class simply advances the internal state of an Lfsr instance. See the Lfsr.advance javadocs for why this class is particularly suitable for being assigned to Benchmark.noiseTask.


Field Summary
protected  Lfsr lfsr
           
protected static long numberTransitions
           
 
Constructor Summary
Benchmark.LfsrAdvancer()
           
 
Method Summary
 void run()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

numberTransitions

protected static final long numberTransitions
See Also:
Constant Field Values

lfsr

protected Lfsr lfsr
Constructor Detail

Benchmark.LfsrAdvancer

public Benchmark.LfsrAdvancer()
Method Detail

run

public void run()
Specified by:
run in interface Runnable

toString

public String toString()
Overrides:
toString in class Object