680 |
ArrayList<StackFrame> stack; |
ArrayList<StackFrame> stack; |
681 |
int stackFrame; |
int stackFrame; |
682 |
int suspendMicroseconds; |
int suspendMicroseconds; |
683 |
|
size_t instructionsCount; |
684 |
|
|
685 |
ExecContext() : |
ExecContext() : |
686 |
status(VM_EXEC_NOT_RUNNING), stackFrame(-1), suspendMicroseconds(0) {} |
status(VM_EXEC_NOT_RUNNING), stackFrame(-1), suspendMicroseconds(0), |
687 |
|
instructionsCount(0) {} |
688 |
|
|
689 |
virtual ~ExecContext() {} |
virtual ~ExecContext() {} |
690 |
|
|
717 |
if (polyphonicIntMemory.empty()) return; |
if (polyphonicIntMemory.empty()) return; |
718 |
memset(&polyphonicIntMemory[0], 0, polyphonicIntMemory.size() * sizeof(int)); |
memset(&polyphonicIntMemory[0], 0, polyphonicIntMemory.size() * sizeof(int)); |
719 |
} |
} |
720 |
|
|
721 |
|
size_t instructionsPerformed() const OVERRIDE { |
722 |
|
return instructionsCount; |
723 |
|
} |
724 |
}; |
}; |
725 |
|
|
726 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |