|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.uka.ipd.sdq.ByCounter.execution.CountingResultIndexing
public class CountingResultIndexing
Indexing infrastructure for CountingResults.
| Constructor Summary | |
|---|---|
CountingResultIndexing()
|
|
| Method Summary | |
|---|---|
void |
add(CountingResult res,
long reportingStart)
Add to indexing infrastructure. |
void |
clearResults()
|
java.util.HashMap<CountingArtefactInformation,CountingResult> |
getAllCountingResultsByArtefacts()
Gets the mapping of CountingArtefactInformation to CountingResults. |
java.util.HashMap<java.lang.Long,CountingArtefactInformation> |
getCountingArtefactsByBeginning()
Gets the CountingArtefactInformation by the time of
method execution beginning. |
java.util.HashMap<java.lang.String,java.util.List<CountingArtefactInformation>> |
getCountingArtefactsByMethodname()
Gets the CountingArtefactInformation by method name. |
java.util.List<CountingArtefactInformation> |
getCountingArtefactsByName(java.lang.String name)
Gets the CountingArtefactInformation by method name. |
CountingArtefactInformation |
getCountingArtefactsByTime(long time)
Gets the CountingArtefactInformation by the time of
method execution beginning. |
CountingArtefactInformation |
getCountingArtefactsByTimestamp(java.sql.Timestamp timestamp)
Gets the CountingArtefactInformation by the time of
method execution beginning. |
CountingResult |
getCountingResultByMethodStartTimestamp(java.sql.Timestamp timestamp)
Gets the CountingArtefactInformation by the time of
method execution beginning. |
CountingResult |
retrieveCountingResultByMethodStartTime(long time)
Gets the CountingArtefactInformation by the time of
method execution beginning. |
CountingResult |
retrieveCountingResultByStartTime_evaluateCallingTree(long callerStartTime,
boolean suppressDebugMessages)
Gets a CountingResult that is the accumulation of all reported
results of the calling tree specified by the callerStartTime. |
java.util.SortedSet<CountingResult> |
retrieveCountingResultsByMethodName(java.lang.String name)
Gets the CountingResults that exist for the given method name. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CountingResultIndexing()
| Method Detail |
|---|
public void clearResults()
public void add(CountingResult res,
long reportingStart)
res - reportingStart - public java.util.HashMap<CountingArtefactInformation,CountingResult> getAllCountingResultsByArtefacts()
CountingArtefactInformation to CountingResults.
HashMap.public java.util.HashMap<java.lang.Long,CountingArtefactInformation> getCountingArtefactsByBeginning()
CountingArtefactInformation by the time of
method execution beginning.
TODO does not consider forced inlining?!
HashMap. The long value is the time as
returned by System.nanoTime().public java.util.HashMap<java.lang.String,java.util.List<CountingArtefactInformation>> getCountingArtefactsByMethodname()
CountingArtefactInformation by method name.
TODO does not consider forced inlining?
HashMap. The String is the method name.public java.util.List<CountingArtefactInformation> getCountingArtefactsByName(java.lang.String name)
CountingArtefactInformation by method name.
TODO does not consider forced inlining?
name - The method name used to select the
CountingArtefactInformation that is returned.
CountingArtefactInformation.public CountingArtefactInformation getCountingArtefactsByTime(long time)
CountingArtefactInformation by the time of
method execution beginning.
TODO does not consider forced inlining?
time - A time as returned by System.nanoTime().
CountingArtefactInformation.public CountingArtefactInformation getCountingArtefactsByTimestamp(java.sql.Timestamp timestamp)
CountingArtefactInformation by the time of
method execution beginning.
TODO does not consider forced inlining?
timestamp - A time as Timestamp.
CountingArtefactInformation.public CountingResult getCountingResultByMethodStartTimestamp(java.sql.Timestamp timestamp)
CountingArtefactInformation by the time of
method execution beginning.
Timestamp should be unique.
TODO does not consider forced inlining?
timestamp - A time as Timestamp.
CountingResult.public CountingResult retrieveCountingResultByMethodStartTime(long time)
CountingArtefactInformation by the time of
method execution beginning.
TODO does not consider forced inlining?
time - A time as returned by System.nanoTime().
CountingResult.
public CountingResult retrieveCountingResultByStartTime_evaluateCallingTree(long callerStartTime,
boolean suppressDebugMessages)
CountingResult that is the accumulation of all reported
results of the calling tree specified by the callerStartTime. A method
that reported a result at callerStartTime is the root node of the calling
tree. All methods invoked from that method, and also reported results,
are accumulated for the returned result.
callerStartTime - Start time of the method invocation for the method
that is the root node of the calling tree.suppressDebugMessages - Debug messages require additional
computations. When true, these calculations will be stopped.
CountingResult.public java.util.SortedSet<CountingResult> retrieveCountingResultsByMethodName(java.lang.String name)
CountingResults that exist for the given method name.
name - The name of a method measured by ByCounter.
Set of CountingResults for the given name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||