Produce an output token on each firing with a value that is
the current time. The output is of type double.
By default, this uses the local notion of time, which may
lag behind the global notion of time if this actor is used
inside a modal model. Under the Continuous director, it is
essential to use local time, and not global time
because of the speculative executions during numerical
ODE solving.
Jie Liu and Edward A. Lee
$Id: CurrentTime.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 0.3
Yellow (eal)
Yellow (cxh)
If true, use the model time reported by the input port,
which is normally the model time of the local director.
If false (the default), use the model time reported by
the top-level director. Local time may differ
from global time inside modal models and certain domains
that manipulate time.