DiscreteUniformSamplerGenerationPerformance_jmhType_B1
public class DiscreteUniformSamplerGenerationPerformance
extends java.lang.Object
DiscreteUniformSampler
or UniformRandomProvider.nextInt(int)
.Modifier and Type | Class | Description |
---|---|---|
static class |
DiscreteUniformSamplerGenerationPerformance.IntRange |
The upper range for the
int generation. |
static class |
DiscreteUniformSamplerGenerationPerformance.Sources |
The benchmark state (retrieve the various "RandomSource"s).
|
Constructor | Description |
---|---|
DiscreteUniformSamplerGenerationPerformance() |
Modifier and Type | Method | Description |
---|---|---|
void |
nextDiscreteUniformSampler(org.openjdk.jmh.infra.Blackhole bh,
DiscreteUniformSamplerGenerationPerformance.Sources source,
DiscreteUniformSamplerGenerationPerformance.IntRange range) |
|
void |
nextIntBaseline(org.openjdk.jmh.infra.Blackhole bh,
DiscreteUniformSamplerGenerationPerformance.Sources source) |
|
void |
nextIntRange(org.openjdk.jmh.infra.Blackhole bh,
DiscreteUniformSamplerGenerationPerformance.Sources source,
DiscreteUniformSamplerGenerationPerformance.IntRange range) |
public DiscreteUniformSamplerGenerationPerformance()
public void nextIntBaseline(org.openjdk.jmh.infra.Blackhole bh, DiscreteUniformSamplerGenerationPerformance.Sources source)
bh
- the data sinksource
- the sourcepublic void nextIntRange(org.openjdk.jmh.infra.Blackhole bh, DiscreteUniformSamplerGenerationPerformance.Sources source, DiscreteUniformSamplerGenerationPerformance.IntRange range)
bh
- the data sinksource
- the sourcerange
- the rangepublic void nextDiscreteUniformSampler(org.openjdk.jmh.infra.Blackhole bh, DiscreteUniformSamplerGenerationPerformance.Sources source, DiscreteUniformSamplerGenerationPerformance.IntRange range)
bh
- the data sinksource
- the sourcerange
- the rangeCopyright © 2016–2019 The Apache Software Foundation. All rights reserved.