public class ThroughputLatencyProbe extends Object implements BenchmarkExecutionAwareProbe
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_INTERVAL_IN_MSECS |
static String |
INTERVAL |
| Constructor and Description |
|---|
ThroughputLatencyProbe() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterExecute(int threadIdx)
After test sample execution callback.
|
void |
beforeExecute(int threadIdx)
Before test sample execution callback.
|
Collection<String> |
metaInfo()
Gets collection of meta information.
|
Collection<BenchmarkProbePoint> |
points()
Gets collection of probe points.
|
void |
start(BenchmarkDriver drv,
BenchmarkConfiguration cfg)
Starts probe execution.
|
void |
stop()
Stops probe execution.
|
public static final String INTERVAL
public static final long DEFAULT_INTERVAL_IN_MSECS
public void start(BenchmarkDriver drv, BenchmarkConfiguration cfg) throws Exception
start in interface BenchmarkProbedrv - Benchmark driver.cfg - Benchmark configuration.Exception - If start failed.public void stop()
throws Exception
stop in interface BenchmarkProbeException - If stop failed.public Collection<String> metaInfo()
metaInfo in interface BenchmarkProbepublic Collection<BenchmarkProbePoint> points()
points in interface BenchmarkProbepublic void beforeExecute(int threadIdx)
beforeExecute in interface BenchmarkExecutionAwareProbethreadIdx - Thread index.public void afterExecute(int threadIdx)
afterExecute in interface BenchmarkExecutionAwareProbethreadIdx - Thread index.Copyright © 2014. All rights reserved.