aboutsummaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-12-25 22:52:40 -0500
committerbunnei <bunneidev@gmail.com>2014-12-25 22:52:40 -0500
commite5ddbfee0211642858f0114691966db7c17e5f7e (patch)
tree44d89c26c5f4dc976dadd7322c9269f026c7b98d /src/core/arm/arm_interface.h
parent5d2ee78d8fbb25c8496654026b27f4238040a4da (diff)
parent5799025ac4dc8bf211bce254b87938b42880029d (diff)
Merge pull request #339 from bunnei/fixup-gsp-synch
Fixup gsp synch
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index c59355339..3b7209418 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
*/