|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uka.ipd.sdq.ByCounter.execution.AbstractCollectionStrategy
de.uka.ipd.sdq.ByCounter.execution.CollectionStrategyForceInlining
public class CollectionStrategyForceInlining
This class can be used in addition to CountingResultCollector
in
order to achieve result inlining during result collection. Inlining means
that instead of holding every individual result, results are added up into
shared counters.
The goal of this strategy is to provide a collection strategy with a strong limit in used memory.
Constructor Summary | |
---|---|
CollectionStrategyForceInlining(CountingResultCollector parent)
Create and initialise the strategy. |
Method Summary | |
---|---|
void |
clearResults()
Clear the result storage fields. |
CountingResult |
getForcedInlining_CountingResult()
|
java.util.SortedMap<java.lang.String,java.lang.Integer> |
getForcedInlining_OccurenceCountsReportingMethods()
|
java.lang.Integer |
getForcedInlining_thresholdPerReportingMethod()
|
java.lang.Integer |
getForcedInlining_thresholdTotalMaximum()
|
java.lang.Integer |
getForcedInlining_totalOfUninlinedMethodsDespiteForcedInlining()
|
boolean |
protocolCount(ProtocolCountStructure result,
long reportingStart)
Protocol the count to the collection strategy. |
java.util.SortedSet<CountingResult> |
retrieveAllCountingResults()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CollectionStrategyForceInlining(CountingResultCollector parent)
Method Detail |
---|
public void clearResults()
AbstractCollectionStrategy
clearResults
in class AbstractCollectionStrategy
public boolean protocolCount(ProtocolCountStructure result, long reportingStart)
AbstractCollectionStrategy
protocolCount
in class AbstractCollectionStrategy
result
- The result to protocol.reportingStart
- Time stamp of the time of reporting the result.
public java.util.SortedSet<CountingResult> retrieveAllCountingResults()
retrieveAllCountingResults
in class AbstractCollectionStrategy
CountingResult
s produced from the handling and
accepting of
results by this strategy.public java.util.SortedMap<java.lang.String,java.lang.Integer> getForcedInlining_OccurenceCountsReportingMethods()
public CountingResult getForcedInlining_CountingResult()
public java.lang.Integer getForcedInlining_thresholdPerReportingMethod()
public java.lang.Integer getForcedInlining_thresholdTotalMaximum()
public java.lang.Integer getForcedInlining_totalOfUninlinedMethodsDespiteForcedInlining()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |