ptolemy.domains.tm.kernel
Interface TMActor
- All Superinterfaces:
- Actor, Executable, Initializable, Nameable
- All Known Implementing Classes:
- TMCompositeFacade
public interface TMActor
- extends Actor
An interface that adds a method getExecutionTime() to the Actor interface.
This allows actors to estimate its execution time on a per iteration basis,
and maybe in an input-dependent manner.
- Since:
- Ptolemy II 2.0
- Version:
- $Id: TMActor.java 43782 2006-09-21 15:10:05Z cxh $
- Author:
- Jie Liu
- Accepted Rating:
- Proposed Rating:
Method Summary |
double |
getExecutionTime()
Return the execution time for this iteration. |
getExecutionTime
double getExecutionTime()
- Return the execution time for this iteration. This method
will be called by the TMDirector after the prefire() method
is called. The reason for this method is to allow the actor
to determine/estimate its execution time on a per iteration
basis.
- Returns:
- The execution time for this iteration.