Package org.eclipse.epsilon.profiling
Class ProfilerTarget
java.lang.Object
org.eclipse.epsilon.profiling.ProfilerTarget
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected List<ProfilerTarget>protected Stringprotected longprotected Stopwatchprotected longprotected Stopwatchprotected longprotected ModuleElementprotected Stringprotected ProfilerTargetprotected long -
Constructor Summary
ConstructorsConstructorDescriptionProfilerTarget(String name, Stopwatch globalStopwatch, String data, ModuleElement moduleElement) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(ProfilerTarget child) getData()getName()longgetWorked(boolean aggregate) booleanvoidpause()voidresume()voidvoidsetModuleElement(ModuleElement moduleElement) voidvoidstop()
-
Field Details
-
name
-
startTime
protected long startTime -
globalEndTime
protected long globalEndTime -
internalEndTime
protected long internalEndTime -
aggregatedWorked
protected long aggregatedWorked -
internalWorked
protected long internalWorked -
children
-
parent
-
data
-
globalStopwatch
-
internalStopwatch
-
moduleElement
-
-
Constructor Details
-
ProfilerTarget
public ProfilerTarget(String name, Stopwatch globalStopwatch, String data, ModuleElement moduleElement)
-
-
Method Details
-
getName
-
setName
-
pause
public void pause() -
resume
public void resume() -
stop
public void stop() -
addChild
-
getChildren
-
getParent
-
isRunning
public boolean isRunning() -
getWorked
public long getWorked(boolean aggregate) -
getData
-
setData
-
getModuleElement
-
setModuleElement
-