Interface CountsPcodeOps
- All Known Implementing Classes:
JitControlFlowModel.JitBlock, PcodeOpCounter
public interface CountsPcodeOps
An interface for things that count instructions and p-code ops
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of instructions counted.intReturns the number of trailing p-code ops counted.
-
Method Details
-
instructionCount
int instructionCount()Returns the number of instructions counted.- Returns:
- the number of instructions counted
-
trailingOpCount
int trailingOpCount()Returns the number of trailing p-code ops counted.This represents partial execution of an instruction. Though
instructionCount()does count the partial instruction, this indicates how much of that instruction was counted. This should provide enough information to replay an execution to exactly the same p-code op step.- Returns:
- the number of trailing p-code ops counted
-