public class RpcTaskSummary extends Object implements Summary
Modifier and Type | Field and Description |
---|---|
double |
mAvgDurationMs |
long |
mCount |
double |
mMedian |
double |
mPercentile25th |
double |
mPercentile5th |
double |
mPercentile75th |
double |
mPercentile95th |
long |
mTotalDurationMs |
CLASS_NAME_FIELD
Constructor and Description |
---|
RpcTaskSummary()
Used for deserialization.
|
RpcTaskSummary(RpcTaskResult r)
Creates a summary from a task result.
|
Modifier and Type | Method and Description |
---|---|
BaseParameters |
getBaseParameters() |
List<String> |
getErrors() |
RpcBenchParameters |
getParameters() |
Map<Integer,Double> |
getPercentiles(int... indices)
Gets percentiles of the results at different indices.
|
List<RpcTaskResult.Point> |
getPoints() |
GraphGenerator |
graphGenerator() |
void |
setBaseParameters(BaseParameters baseParameters) |
void |
setErrors(List<String> errors) |
void |
setParameters(RpcBenchParameters parameters) |
void |
setPoints(List<RpcTaskResult.Point> points) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromJson, fromJson, getClassName, setClassName, toJson
public long mCount
public long mTotalDurationMs
public double mAvgDurationMs
public double mPercentile5th
public double mPercentile25th
public double mMedian
public double mPercentile75th
public double mPercentile95th
public RpcTaskSummary()
public RpcTaskSummary(RpcTaskResult r)
r
- task resultpublic GraphGenerator graphGenerator()
graphGenerator
in interface Summary
public Map<Integer,Double> getPercentiles(int... indices)
indices
- the indices of the percentiles, e.g. 50th or 75thpublic List<RpcTaskResult.Point> getPoints()
public void setPoints(List<RpcTaskResult.Point> points)
points
- the data pointspublic BaseParameters getBaseParameters()
BaseParameters
public void setBaseParameters(BaseParameters baseParameters)
baseParameters
- the BaseParameters
@Nullable public RpcBenchParameters getParameters()
RpcBenchParameters
public void setParameters(RpcBenchParameters parameters)
parameters
- the RpcBenchParameters
Copyright © 2023. All Rights Reserved.