@Deprecated public class JLBH extends Object implements net.openhft.chronicle.core.util.NanoSampler
| Constructor and Description |
|---|
JLBH(@NotNull JLBHOptions jlbhOptions)
Deprecated.
|
JLBH(@NotNull JLBHOptions jlbhOptions,
@NotNull PrintStream printStream,
Consumer<JLBHResult> resultConsumer)
Deprecated.
Use this constructor if you want to test the latencies in more automated fashion.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Deprecated.
|
@NotNull Map<String,List<double[]>> |
additionalPercentileRuns()
Deprecated.
|
net.openhft.chronicle.core.util.NanoSampler |
addProbe(String name)
Deprecated.
Add a probe to measure a section of the benchmark.
|
protected @NotNull net.openhft.chronicle.core.util.Histogram |
createHistogram()
Deprecated.
|
net.openhft.chronicle.core.jlbh.JLBH.JLBHEventHandler |
eventLoopHandler()
Deprecated.
Call this instead of start if you want to install JLBH as a handler on your event loop thread
|
List<double[]> |
percentileRuns()
Deprecated.
|
void |
printPercentilesSummary(String label,
@NotNull List<double[]> percentileRuns,
Appendable appendable)
Deprecated.
|
void |
sample(long nanoTime)
Deprecated.
|
void |
sampleNanos(long nanos)
Deprecated.
|
void |
start()
Deprecated.
Start benchmark
|
public JLBH(@NotNull
@NotNull JLBHOptions jlbhOptions)
jlbhOptions - Options to run the benchmarkpublic JLBH(@NotNull
@NotNull JLBHOptions jlbhOptions,
@NotNull
@NotNull PrintStream printStream,
Consumer<JLBHResult> resultConsumer)
jlbhOptions - Options to run the benchmarkprintStream - Used to print text output. Use System.out to show the result on you standard out (e.g. screen)resultConsumer - If provided, accepts the result data to be retrieved after the latencies have been measuredpublic net.openhft.chronicle.core.util.NanoSampler addProbe(String name)
name - Name of probe@NotNull public @NotNull Map<String,List<double[]>> additionalPercentileRuns()
public void abort()
public void start()
public List<double[]> percentileRuns()
public net.openhft.chronicle.core.jlbh.JLBH.JLBHEventHandler eventLoopHandler()
public void printPercentilesSummary(String label, @NotNull @NotNull List<double[]> percentileRuns, Appendable appendable)
public void sampleNanos(long nanos)
sampleNanos in interface net.openhft.chronicle.core.util.NanoSamplerpublic void sample(long nanoTime)
@NotNull protected @NotNull net.openhft.chronicle.core.util.Histogram createHistogram()
Copyright © 2021. All rights reserved.