Class Profiler
java.lang.Object
org.eclipse.m2m.atl.emftvm.profiler.Profiler
- All Implemented Interfaces:
VMMonitor
Profiler for EMFTVM.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
enter
(StackFrame frame) Enters the stack frame.void
error
(StackFrame frame, String msg, Exception e) Throws an error.Returns the profiling results.boolean
Returnstrue
when the running EMFTVM instance should be terminated.void
leave
(StackFrame frame) Leaves the stack frame.void
step
(StackFrame frame) Steps into the stack frame.void
Invoked when execution is terminated.toString()
-
Constructor Details
-
Profiler
public Profiler()
-
-
Method Details
-
isTerminated
public boolean isTerminated()Returnstrue
when the running EMFTVM instance should be terminated.- Specified by:
isTerminated
in interfaceVMMonitor
- Returns:
true
when the running EMFTVM instance should be terminated
-
enter
Enters the stack frame. -
leave
Leaves the stack frame. -
step
Steps into the stack frame. -
terminated
public void terminated()Invoked when execution is terminated.- Specified by:
terminated
in interfaceVMMonitor
-
error
Throws an error. -
getResults
Returns the profiling results.- Returns:
- the results
-
toString
-