Moved down_count to CoreTiming

This commit is contained in:
Huw Pascoe 2017-09-30 17:25:49 +01:00
parent afb1012bcd
commit 529f4a0131
9 changed files with 33 additions and 43 deletions

View file

@ -124,12 +124,6 @@ public:
*/
virtual void SetCP15Register(CP15Register reg, u32 value) = 0;
/**
* Advance the CPU core by the specified number of ticks (e.g. to simulate CPU execution time)
* @param ticks Number of ticks to advance the CPU core
*/
virtual void AddTicks(u64 ticks) = 0;
/**
* Saves the current CPU context
* @param ctx Thread context to save
@ -150,9 +144,6 @@ public:
return num_instructions;
}
s64 down_count = 0; ///< A decreasing counter of remaining cycles before the next event,
/// decreased by the cpu run loop
protected:
/**
* Executes the given number of instructions