public class TaskResultStatistics extends Object
TaskResult
.Modifier and Type | Field and Description |
---|---|
long[] |
mMaxResponseTimeNs |
long |
mNumSuccess |
byte[] |
mResponseTimeNsRaw |
Modifier | Constructor and Description |
---|---|
protected |
TaskResultStatistics() |
Modifier and Type | Method and Description |
---|---|
void |
encodeResponseTimeNsRaw(org.HdrHistogram.Histogram responseTimeNs)
Encodes the histogram into the internal byte array.
|
void |
merge(TaskResultStatistics statistics)
Merges (updates) a task result statistics with this statistics.
|
SummaryStatistics |
toBenchSummaryStatistics()
Converts this class to
SummaryStatistics . |
public long mNumSuccess
public byte[] mResponseTimeNsRaw
public long[] mMaxResponseTimeNs
public void merge(TaskResultStatistics statistics) throws Exception
statistics
- the task result statistics to mergeException
public void encodeResponseTimeNsRaw(org.HdrHistogram.Histogram responseTimeNs)
responseTimeNs
- the histogram (in ns)public SummaryStatistics toBenchSummaryStatistics() throws DataFormatException
SummaryStatistics
.DataFormatException
- if histogram decoding from compressed byte buffer failsCopyright © 2023. All Rights Reserved.