public class ProfilerTarget extends Object
Modifier and Type | Field and Description |
---|---|
protected long |
aggregatedWorked |
protected List<ProfilerTarget> |
children |
protected String |
data |
protected FileMarker |
fileMarker |
protected long |
globalEndTime |
protected Stopwatch |
globalStopwatch |
protected long |
internalEndTime |
protected Stopwatch |
internalStopwatch |
protected long |
internalWorked |
protected String |
name |
protected ProfilerTarget |
parent |
protected long |
startTime |
Constructor and Description |
---|
ProfilerTarget(String name,
Stopwatch globalStopwatch,
String data,
FileMarker fileMarker) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(ProfilerTarget child) |
List<ProfilerTarget> |
getChildren() |
String |
getData() |
FileMarker |
getFileMarker() |
String |
getName() |
ProfilerTarget |
getParent() |
long |
getWorked(boolean aggregate) |
boolean |
isRunning() |
void |
pause() |
void |
resume() |
void |
setData(String data) |
void |
setFileMarker(FileMarker fileMarker) |
void |
setName(String name) |
void |
stop() |
protected String name
protected long startTime
protected long globalEndTime
protected long internalEndTime
protected long aggregatedWorked
protected long internalWorked
protected List<ProfilerTarget> children
protected ProfilerTarget parent
protected String data
protected FileMarker fileMarker
protected Stopwatch globalStopwatch
protected Stopwatch internalStopwatch
public ProfilerTarget(String name, Stopwatch globalStopwatch, String data, FileMarker fileMarker)
public String getName()
public void setName(String name)
public void pause()
public void resume()
public void stop()
public void addChild(ProfilerTarget child)
public List<ProfilerTarget> getChildren()
public ProfilerTarget getParent()
public boolean isRunning()
public long getWorked(boolean aggregate)
public String getData()
public void setData(String data)
public FileMarker getFileMarker()
public void setFileMarker(FileMarker fileMarker)
Copyright © 2016. All rights reserved.