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