WaitingTime

Parent Previous Next


Full Library / Source / Event /  WaitingTime
Block Name: WaitingTime


This actor measures the time that events at one input have to wait for events at another. Specifically, there will be one output event for each waiter input event. But the output event is delayed until the next arrival of an event at waitee. When one or more events arrive at waitee, then all events that have arrived at waiter since the last waitee (or since the start of the execution) trigger an output. The value of each output is the time that the waiter event waited for waitee. The inputs have undeclared type, so anything is acceptable. The output is always a DoubleToken.


Field Detail

output

public TypedIOPort output


waitee

public TypedIOPort waitee


waiter

public TypedIOPort waiter




Created with the Personal Edition of HelpNDoc: Free iPhone documentation generator