Package org.eclipse.epsilon.profiling
Class ProfilerTarget
java.lang.Object
org.eclipse.epsilon.profiling.ProfilerTarget
-
Field Summary
Modifier and TypeFieldDescriptionprotected long
protected List<ProfilerTarget>
protected String
protected long
protected Stopwatch
protected long
protected Stopwatch
protected long
protected ModuleElement
protected String
protected ProfilerTarget
protected long
-
Constructor Summary
ConstructorDescriptionProfilerTarget
(String name, Stopwatch globalStopwatch, String data, ModuleElement moduleElement) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(ProfilerTarget child) getData()
getName()
long
getWorked
(boolean aggregate) boolean
void
pause()
void
resume()
void
void
setModuleElement
(ModuleElement moduleElement) void
void
stop()
-
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
-