de.uka.ipd.sdq.ByCounter.execution
Class CalculatedCounts

java.lang.Object
  extended by de.uka.ipd.sdq.ByCounter.execution.CalculatedCounts

public class CalculatedCounts
extends java.lang.Object


Field Summary
 int indexOfRangeBlock
           
 
Constructor Summary
CalculatedCounts()
           
 
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
 

Field Detail

indexOfRangeBlock

public int indexOfRangeBlock
Constructor Detail

CalculatedCounts

public CalculatedCounts()
Method Detail

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 block
bbCount - 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 block
bbCount - nr of executions of the basic block