de.uka.ipd.sdq.ByCounter.execution
Interface ISimpleCountingResult

All Known Subinterfaces:
IFullCountingResult
All Known Implementing Classes:
CountingResult

public interface ISimpleCountingResult


Field Summary
static int NO_COUNT_AVAILABLE
           
 
Method Summary
 int getFileType()
          Simple getter for input file type.
 long getInputCharacterisation()
           
 java.lang.Long getMethodCount(java.lang.String methodName)
          TODO
 java.lang.Long getOpcodeCount(int opcode)
          TODO
 java.lang.Long getOpcodeCount(java.lang.String opcode)
          TODO
 long getOutputCharacterisation()
           
 java.lang.Long getTotalCount(boolean includeInvokeOpcodes)
          TODO
 void setOpcodeCount(int opcode, java.lang.Long count)
          Set counted BCs for a opcode-specified BC
 

Field Detail

NO_COUNT_AVAILABLE

static final int NO_COUNT_AVAILABLE
See Also:
Constant Field Values
Method Detail

getFileType

int getFileType()
Simple getter for input file type. For SPECjvm2008, we are using the constants from compress.Harness: public static final int DATA_TYPE_COMPRESSED=3; public static final int DATA_TYPE_MIXED=2; public static final int DATA_TYPE_UNCOMPRESSED=1; public static final int DATA_TYPE_UNKNOWN=0;//

Returns:
The input file type.

getInputCharacterisation

long getInputCharacterisation()
Returns:
For example, for SPECjvm2008.Compress, this is the size of the input file (in bytes)

getMethodCount

java.lang.Long getMethodCount(java.lang.String methodName)
TODO

Parameters:
methodName -
Returns:
Method execution count

getOpcodeCount

java.lang.Long getOpcodeCount(int opcode)
TODO

Returns:
Opcode execution count

getOpcodeCount

java.lang.Long getOpcodeCount(java.lang.String opcode)
TODO

Returns:
Opcode execution count

getOutputCharacterisation

long getOutputCharacterisation()
Returns:
For example, for SPECjvm2008.Compress, this is the size of the buffer which holds the compressed data of the input file.

getTotalCount

java.lang.Long getTotalCount(boolean includeInvokeOpcodes)
TODO

Parameters:
includeInvokeOpcodes -
Returns:
Total number of executed opcodes.

setOpcodeCount

void setOpcodeCount(int opcode,
                    java.lang.Long count)
Set counted BCs for a opcode-specified BC

Parameters:
opcode -
count -