public final class WorkerBenchSummary extends GeneralBenchSummary<WorkerBenchTaskResult>
Modifier and Type | Class and Description |
---|---|
static class |
WorkerBenchSummary.GraphGenerator
The graph generator for this summary.
|
mNodeResults, mThroughput
CLASS_NAME_FIELD
Constructor and Description |
---|
WorkerBenchSummary()
Creates an instance.
|
WorkerBenchSummary(WorkerBenchTaskResult mergedTaskResults,
Map<String,WorkerBenchTaskResult> nodes)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
long |
getDurationMs() |
long |
getEndTimeMs() |
long |
getIOBytes() |
float |
getIOMBps() |
WorkerBenchParameters |
getParameters() |
GraphGenerator |
graphGenerator() |
void |
setDurationMs(long durationMs) |
void |
setEndTimeMs(long endTimeMs) |
void |
setIOBytes(long IOBytes) |
void |
setIOMBps(float ioMBps) |
void |
setParameters(WorkerBenchParameters parameters) |
collectErrorsFromAllNodes, getNodeResults, getThroughput, setNodeResults, setThroughput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromJson, fromJson, getClassName, setClassName, toJson
public WorkerBenchSummary()
public WorkerBenchSummary(WorkerBenchTaskResult mergedTaskResults, Map<String,WorkerBenchTaskResult> nodes)
mergedTaskResults
- the merged task resultnodes
- the list of nodespublic float getIOMBps()
public void setIOMBps(float ioMBps)
ioMBps
- the throughput (MB / s)public long getDurationMs()
public void setDurationMs(long durationMs)
durationMs
- the duration (in ms)public WorkerBenchParameters getParameters()
public void setParameters(WorkerBenchParameters parameters)
parameters
- the parameterspublic long getEndTimeMs()
public void setEndTimeMs(long endTimeMs)
endTimeMs
- the end time (in ms)public long getIOBytes()
public void setIOBytes(long IOBytes)
IOBytes
- the number of bytespublic GraphGenerator graphGenerator()
Copyright © 2023. All Rights Reserved.