public class PerformanceWrapper
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PerformanceWrapper.Gather |
static class |
PerformanceWrapper.TypeGlobal |
static class |
PerformanceWrapper.TypeNode |
Constructor and Description |
---|
PerformanceWrapper(QueueLengths lengths,
gnu.trove.map.TIntObjectMap<QueueActivityLog> queueActivityLogs,
int numberOfNodes) |
Modifier and Type | Method and Description |
---|---|
void |
addGlobalValue(PerformanceWrapper.TypeGlobal type,
long value) |
void |
addNodeValue(PerformanceWrapper.TypeNode type,
int unode,
long value) |
void |
finalise() |
long |
getGlobalMeasure(PerformanceWrapper.TypeGlobal type,
PerformanceWrapper.Gather gather) |
long |
getNodeMeasure(PerformanceWrapper.TypeNode type,
PerformanceWrapper.Gather gather,
int unode)
Returns the asked measure, or -1 if it does not exist.
|
long[] |
getNodeMeasures(PerformanceWrapper.TypeNode type,
PerformanceWrapper.Gather gather) |
double |
getQueueLength(int unode,
long time) |
public PerformanceWrapper(QueueLengths lengths, gnu.trove.map.TIntObjectMap<QueueActivityLog> queueActivityLogs, int numberOfNodes)
public void addNodeValue(PerformanceWrapper.TypeNode type, int unode, long value)
public void addGlobalValue(PerformanceWrapper.TypeGlobal type, long value)
public void finalise()
public long getNodeMeasure(PerformanceWrapper.TypeNode type, PerformanceWrapper.Gather gather, int unode)
type
- gather
- unode
- public long[] getNodeMeasures(PerformanceWrapper.TypeNode type, PerformanceWrapper.Gather gather)
public double getQueueLength(int unode, long time)
public long getGlobalMeasure(PerformanceWrapper.TypeGlobal type, PerformanceWrapper.Gather gather)