org.eclipse.emf.henshin.interpreter.impl
Class ProfilingApplicationMonitor
java.lang.Object
org.eclipse.emf.henshin.interpreter.impl.BasicApplicationMonitor
org.eclipse.emf.henshin.interpreter.impl.ProfilingApplicationMonitor
- All Implemented Interfaces:
- ApplicationMonitor
public class ProfilingApplicationMonitor
- extends BasicApplicationMonitor
ApplicationMonitor
implementation that gathers profiling statistics.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startTime
protected long startTime
durations
protected Map<Rule,Long> durations
executions
protected Map<Rule,Integer> executions
ProfilingApplicationMonitor
public ProfilingApplicationMonitor()
notifyExecute
public void notifyExecute(UnitApplication application,
boolean success)
- Description copied from interface:
ApplicationMonitor
- Notify this monitor that a unit application has been executed.
- Specified by:
notifyExecute
in interface ApplicationMonitor
- Overrides:
notifyExecute
in class BasicApplicationMonitor
- Parameters:
application
- Executed unit application.success
- Whether the unit application was successful.
printStats
public void printStats()