|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
org.eclipse.m2m.atl.profiler.core.ATLProfiler
public final class ATLProfiler
ATLProfiler is a component that dispatch ATL debugging information to ATLModelHandler & ProfilerModelHandler. This class is used by the ProflingDebugger class.
ATLModelHandler,
ProfilerModelHandler| Method Summary | |
|---|---|
static ATLProfiler |
getInstance()
Singleton access. |
void |
initProfiler(org.eclipse.emf.ecore.EObject model)
Prepare atl & profiler model handlers with the ATL model. |
void |
interceptEnter(IStackFrame frame)
Intercept the beginning of an operation execution. |
void |
interceptError(IStackFrame frame,
java.lang.String msg,
java.lang.Throwable e)
Intercept errors. |
void |
interceptLeave(IStackFrame frame)
Intercept the exiting of an operation execution. |
void |
interceptStep(IStackFrame frame)
Intercept simple instruction execution. |
void |
interceptTerminated()
Intercept execution end. |
void |
printProfilingSummary()
Print short profiling summary. |
| Methods inherited from class java.util.Observable |
|---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ATLProfiler getInstance()
ATLProfiler singletonpublic void initProfiler(org.eclipse.emf.ecore.EObject model)
model - the ATL modelpublic void interceptEnter(IStackFrame frame)
ProfilerModelHandler.ProfilerModelHandler).
frame - the stack framepublic void interceptLeave(IStackFrame frame)
ProfilerModelHandler.
frame - the stack framepublic void interceptStep(IStackFrame frame)
ProfilerModelHandler.
frame - the stack frame
public void interceptError(IStackFrame frame,
java.lang.String msg,
java.lang.Throwable e)
frame - the stack framemsg - (message)e - (stacktrace)public void interceptTerminated()
public void printProfilingSummary()
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||