Class Profiler
java.lang.Object
org.eclipse.m2m.atl.emftvm.profiler.Profiler
- All Implemented Interfaces:
VMMonitor
Profiler for EMFTVM.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenter(StackFrame frame) Enters the stack frame.voiderror(StackFrame frame, String msg, Exception e) Throws an error.Returns the profiling results.booleanReturnstruewhen the running EMFTVM instance should be terminated.voidleave(StackFrame frame) Leaves the stack frame.voidstep(StackFrame frame) Steps into the stack frame.voidInvoked when execution is terminated.toString()
-
Constructor Details
-
Profiler
public Profiler()
-
-
Method Details
-
isTerminated
public boolean isTerminated()Returnstruewhen the running EMFTVM instance should be terminated.- Specified by:
isTerminatedin interfaceVMMonitor- Returns:
truewhen 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:
terminatedin interfaceVMMonitor
-
error
Throws an error. -
getResults
Returns the profiling results.- Returns:
- the results
-
toString
-