|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.m2m.atl.profiler.core.ProfilerModelHandler
public final class ProfilerModelHandler
Class that build the profiling model.
| Method Summary | |
|---|---|
void |
closeOperation(java.lang.String sfOpName,
IStackFrame frame)
Close execution with current operation node. |
void |
endExecution()
Ends profiling execution. |
static ProfilerModelHandler |
getInstance()
Singleton access. |
long |
getModelTotalInstructions()
Returns the total instructions count. |
double |
getModelTotalTime()
Returns the total time. |
java.util.Map<java.lang.String,ATLOperation> |
getOperationRegistry()
|
ProfilingModel |
getProfilingModel()
|
void |
init()
Initialize the model. |
void |
interceptError(IStackFrame frame,
java.lang.String msg,
java.lang.Throwable e)
Prepare error object to show in the execution display. |
boolean |
isDebugMessages()
|
boolean |
isHasTocreateStep()
|
void |
makeStep(IStackFrame frame)
Execute simple asm instruction. |
void |
newOperation(java.lang.String sfOpName,
IStackFrame frame,
ATLOperation atlOperation,
org.eclipse.emf.ecore.EObject atlElement)
Create new operation node or start with the root model. |
void |
setDebugMessages(boolean debugMessages)
|
void |
setHasTocreateStep(boolean hasTocreateStep)
|
void |
setProfilingModel(ProfilingModel profilingModel)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ProfilerModelHandler getInstance()
ProfilerModelHandler singleton instancepublic void init()
public void newOperation(java.lang.String sfOpName,
IStackFrame frame,
ATLOperation atlOperation,
org.eclipse.emf.ecore.EObject atlElement)
sfOpName - the operation nameframe - the frameatlOperation - the atl operationatlElement - the atl EObject
public void interceptError(IStackFrame frame,
java.lang.String msg,
java.lang.Throwable e)
frame - the framemsg - the error messagee - the exception
public void closeOperation(java.lang.String sfOpName,
IStackFrame frame)
throws NoRegisteredOperationFoundException,
InterceptedLeavingStackFrameException
sfOpName - the operation nameframe - the frame
NoRegisteredOperationFoundException
InterceptedLeavingStackFrameExceptionpublic void makeStep(IStackFrame frame)
frame - the framepublic void endExecution()
public double getModelTotalTime()
public long getModelTotalInstructions()
public ProfilingModel getProfilingModel()
public void setProfilingModel(ProfilingModel profilingModel)
public java.util.Map<java.lang.String,ATLOperation> getOperationRegistry()
public boolean isDebugMessages()
public void setDebugMessages(boolean debugMessages)
public boolean isHasTocreateStep()
public void setHasTocreateStep(boolean hasTocreateStep)
|
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 | |||||||||