|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProbeManager
Created by IntelliJ IDEA. User: tel Date: Aug 28, 2009 Time: 12:23:26 AM To change this template use File | Settings | File Templates.
Method Summary | |
---|---|
void |
addSampleFromProbe(Probe p)
Add a sample from a probe. |
void |
clear()
Clear results for all probes |
void |
clear(String probeName)
Clear result for named probe |
void |
disable()
Disable all probes. |
void |
disable(String probeName)
Disable probe |
void |
enable()
Enable all probes. |
void |
enable(String probeName)
Enable a named probe |
int |
getFirstSamplesToSkip()
The the # of first samples to skip |
String[] |
getNames()
Get all probe names in the ProbeManager |
ProbeManagerImpl.Presentation |
getPresentation()
Get the current presentation for the manager |
Probe |
getProbeInstance(String probeName)
Get instance of a named probe, if it is non existent, a probe will be created. |
Result |
getResult(String probeName)
Get a result for a given probe |
Collection<Result> |
getResults()
Get all the results |
long[] |
getSamples(String probe)
Get all samples from a probe, as a string newline delimited |
Time |
getTime()
Get the time implementation |
void |
put(String probeName,
Probe probe)
Put a probe into the manager, if the probe exist it will be overwritten. |
void |
setFirstSamplesToSkip(int _firstSamplesToSkip)
Set how many samples to skip in the calculation of statistics. |
void |
setPresentation(ProbeManagerImpl.Presentation p)
Set the presentation unit for presentation. |
void |
setTime(Time tim)
Set the Time implementation. |
Probe |
start(String probeName)
Start probe, identified by probeName, if the probe does not exist, it will be created. |
Probe |
startSingle(String probeName)
Start probe, this probe is global for all threads, no thread private |
void |
stop(String probeName)
Stop timing. |
String |
toString(String probe)
Get result as a string |
Method Detail |
---|
void put(String probeName, Probe probe)
probeName
- probe
- Result getResult(String probeName)
probeName
-
Collection<Result> getResults()
Probe getProbeInstance(String probeName)
probeName
- identifying name of probe
Probe start(String probeName)
probeName
- name of existing or new probe.Probe startSingle(String probeName)
probeName
-
void stop(String probeName)
probeName
- name of probe to stopvoid addSampleFromProbe(Probe p)
p
- void clear(String probeName)
probeName
- void clear()
void disable(String probeName)
probeName
- void disable()
void enable(String probeName)
probeName
- void enable()
void setPresentation(ProbeManagerImpl.Presentation p)
p
- presentation to setint getFirstSamplesToSkip()
void setFirstSamplesToSkip(int _firstSamplesToSkip)
_firstSamplesToSkip
- ProbeManagerImpl.Presentation getPresentation()
void setTime(Time tim)
tim
- Time getTime()
String toString(String probe)
probe
-
long[] getSamples(String probe)
probe
-
String[] getNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |