| Package | Description |
|---|---|
| net.openhft.chronicle.core.jlbh |
| Modifier and Type | Method and Description |
|---|---|
JLBHOptions |
JLBHOptions.accountForCoordinatedOmmission(boolean accountForCoordinatedOmmission)
Determines whether the start time is the time the event was supposed to have happened
(i.e.
|
JLBHOptions |
JLBHOptions.acquireLock(Supplier<net.openhft.affinity.AffinityLock> acquireLock) |
JLBHOptions |
JLBHOptions.iterations(int iterations)
Number of iterations of the benchmark not including warmup.
|
JLBHOptions |
JLBHOptions.jitterAffinity(boolean jitterAffinity)
Should the jitter thread set affinity or not
|
JLBHOptions |
JLBHOptions.jlbhTask(JLBHTask JLBHTask)
The latency benchmark to be run.
|
JLBHOptions |
JLBHOptions.pauseAfterWarmupMS(int pauseMS)
Option to set a pause after the warmup is complete
|
JLBHOptions |
JLBHOptions.recordJitterGreaterThanNs(int recordJitterGreaterThanNs)
Determines how much jitter to record.
|
JLBHOptions |
JLBHOptions.recordOSJitter(boolean recordOSJitter)
Determines whether or not to record jitter
|
JLBHOptions |
JLBHOptions.runs(int runs)
Number of runs of the benchmark
|
JLBHOptions |
JLBHOptions.skipFirstRun(boolean skip)
Option to skip first run from being included in the variation statistics.
|
JLBHOptions |
JLBHOptions.throughput(int throughput)
Number of iterations per second to be pushed through the benchmark
|
JLBHOptions |
JLBHOptions.throughput(int throughput,
TimeUnit throughputTimeUnit)
Number of iterations per time unit to be pushed through the benchmark
|
JLBHOptions |
JLBHOptions.timeout(long timeout) |
JLBHOptions |
JLBHOptions.warmUpIterations(int warmUp)
Determines how many warmup iterations to perform.
|
| Constructor and Description |
|---|
JLBH(JLBHOptions jlbhOptions) |
JLBH(JLBHOptions jlbhOptions,
PrintStream printStream,
Consumer<JLBHResult> resultConsumer)
Use this constructor if you want to test the latencies in more automated fashion.
|
Copyright © 2019. All rights reserved.