WaitingTime
ptolemy.domains.de.lib.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 <i>waiter</i> input event. But the output event is delayed until the next arrival of an event at <i>waitee</i>. When one or more events arrive at <i>waitee</i>, then all events that have arrived at <i>waiter</i> since the last <i>waitee</i> (or since the start of the execution) trigger an output. The value of each output is the time that the <i>waiter</i> event waited for <i>waitee</i>. The inputs have undeclared type, so anything is acceptable. The output is always a DoubleToken.

Author(s): Lukito Muliadi, Edward A Lee
Version:$Id: WaitingTime.doc.html,v 1.1 2006/02/22 18:42:26 mangal Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Yellow (cxh)


output
The output, which is always a DoubleToken representing the that a waiter waited for an input at the <i>waitee</i> input.
waiter
An input event here waits for the next event at the <i>waitee</i> input. The type of this port is undeclared, so any input is acceptable.
waitee
An input event here triggers an output event for each <i>waiter</i> input that arrived since the last input here. The type of this port is undeclared, so any input is acceptable.