Emul8.Peripherals.CPU.TranslationCPU.UpdateInstructionCounter C# (CSharp) Method

UpdateInstructionCounter() private method

private UpdateInstructionCounter ( int value ) : void
value int
return void
        private void UpdateInstructionCounter(int value)
        {
            ExecutedInstructions += value;
            var instructionsThisTurn = value + instructionCountResiduum;
            instructionCountResiduum = instructionsThisTurn % PerformanceInMips;
            ClockSource.Advance(instructionsThisTurn / PerformanceInMips);
        }
TranslationCPU