bb.util
Class Benchmark.LfsrAdvancer
java.lang.Object
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
.
numberTransitions
protected static final long numberTransitions
- See Also:
- Constant Field Values
lfsr
protected Lfsr lfsr
Benchmark.LfsrAdvancer
public Benchmark.LfsrAdvancer()
run
public void run()
- Specified by:
run
in interface Runnable
toString
public String toString()
- Overrides:
toString
in class Object