de.uka.ipd.sdq.ByCounter.execution
Class CalculatedCounts
java.lang.Object
de.uka.ipd.sdq.ByCounter.execution.CalculatedCounts
public class CalculatedCounts
- extends java.lang.Object
Method Summary |
void |
addMethodCallCounts(java.util.Map<java.lang.String,java.lang.Integer> methodCallCounts,
long bbCount)
Adds the counts in methodCallCounts to the counts. |
void |
addOpcodeCounts(int[] opcodeCountsInBB,
long bbCount)
Adds the counts opcodeCountsInBB to the counts. |
void |
init()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
indexOfRangeBlock
public int indexOfRangeBlock
CalculatedCounts
public CalculatedCounts()
init
public void init()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
addOpcodeCounts
public void addOpcodeCounts(int[] opcodeCountsInBB,
long bbCount)
- Adds the counts opcodeCountsInBB to the counts.
- Parameters:
opcodeCountsInBB
- opcodeCounst in the basic blockbbCount
- nr of executions of the basic block
addMethodCallCounts
public void addMethodCallCounts(java.util.Map<java.lang.String,java.lang.Integer> methodCallCounts,
long bbCount)
- Adds the counts in methodCallCounts to the counts.
- Parameters:
methodCallCounts
- methodCallCounts in the basic blockbbCount
- nr of executions of the basic block