DiscreteSamplersPerformance_jmhType_B1
public class DiscreteSamplersPerformance
extends java.lang.Object
DiscreteSampler
.Modifier and Type | Class | Description |
---|---|---|
static class |
DiscreteSamplersPerformance.Sources |
The
DiscreteSampler samplers to use for testing. |
Constructor | Description |
---|---|
DiscreteSamplersPerformance() |
Modifier and Type | Method | Description |
---|---|---|
int |
baseline() |
Baseline for the JMH timing overhead for production of an
int value. |
int |
sample(DiscreteSamplersPerformance.Sources sources) |
Run the sampler.
|
public int baseline()
int
value.int
valuepublic int sample(DiscreteSamplersPerformance.Sources sources)
sources
- Source of randomness.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.