public class WorkerBenchCoarseDataPoint extends Object
Constructor and Description |
---|
WorkerBenchCoarseDataPoint(Long workerID,
Long threadID)
Creates a coarse data point without data and throughput arrays.
|
WorkerBenchCoarseDataPoint(Long workerID,
Long threadID,
List<WorkerBenchDataPoint> data,
List<Long> throughput)
Creates a coarse data point with data and throughput arrays.
|
Modifier and Type | Method and Description |
---|---|
void |
addDataPoint(WorkerBenchDataPoint data) |
void |
clearThroughput()
removes the list of all throughput after worker aggregation.
|
List<WorkerBenchDataPoint> |
getData() |
List<Long> |
getThroughput() |
Long |
getTid() |
Long |
getWid() |
void |
setData(List<WorkerBenchDataPoint> data) |
void |
setThroughput(List<Long> throughput) |
void |
setTid(Long tid) |
void |
setWid(Long wid) |
public WorkerBenchCoarseDataPoint(Long workerID, Long threadID)
workerID
- the ID of the workerthreadID
- the ID of the threadpublic WorkerBenchCoarseDataPoint(Long workerID, Long threadID, List<WorkerBenchDataPoint> data, List<Long> throughput)
workerID
- the ID of the workerthreadID
- the ID of the threaddata
- the list of data point liststhroughput
- the list of throughputpublic Long getWid()
public void setWid(Long wid)
wid
- the ID of the workerpublic Long getTid()
public void setTid(Long tid)
tid
- the ID of the threadpublic List<WorkerBenchDataPoint> getData()
public void setData(List<WorkerBenchDataPoint> data)
data
- the list of data point listspublic void addDataPoint(WorkerBenchDataPoint data)
data
- add a data point list to the list of data point listspublic void setThroughput(List<Long> throughput)
throughput
- the list of all throughputpublic void clearThroughput()
Copyright © 2023. All Rights Reserved.