public abstract class TimeMeter extends TwoPointMeter
fromPortHandler, toPortHandler
Modifier | Constructor and Description |
---|---|
protected |
TimeMeter(SimNode ownNode) |
Modifier and Type | Method and Description |
---|---|
protected void |
addTimeStamp(Message message,
TimeStamp timeStamp) |
protected void |
evaluateMessageFromPort(Message msg,
Port port) |
protected void |
evaluateMessageToPort(Message msg,
Port port) |
protected abstract void |
evaluateTimeStamp(TimeStamp ts,
double currentTime) |
protected TimeStamp |
getAndRemoveTimeStamp(Message message) |
protected abstract boolean |
useMessage(Message msg)
filters messages that should be used for transfer time measurement
|
attachFromPort, attachFromPort, attachToPort, attachToPort
protected TimeMeter(SimNode ownNode)
protected abstract void evaluateTimeStamp(TimeStamp ts, double currentTime)
protected abstract boolean useMessage(Message msg)
protected void evaluateMessageFromPort(Message msg, Port port)
evaluateMessageFromPort
in class TwoPointMeter
protected void evaluateMessageToPort(Message msg, Port port)
evaluateMessageToPort
in class TwoPointMeter