diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-23 22:45:52 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-25 22:46:44 -0500 |
commit | 4783133bbd651590b5116be95a5deda31fe9f4dc (patch) | |
tree | daf8cd9fd9be955d30ba217087003ed653342cb3 /src/core/arm/arm_interface.h | |
parent | 5241e7a9c34b8c6e42bb7d4cc6e2461b2781a8e8 (diff) |
ARM: Add a mechanism for faking CPU time elapsed during HLE.
- Also a few cleanups.
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r-- | src/core/arm/arm_interface.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index c5935533..3b720941 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h @@ -78,6 +78,12 @@ public: virtual u64 GetTicks() const = 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 */ |