aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/core.h')
-rw-r--r--qtmips_machine/core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_machine/core.h b/qtmips_machine/core.h
index ff589c5..fd15315 100644
--- a/qtmips_machine/core.h
+++ b/qtmips_machine/core.h
@@ -76,7 +76,8 @@ public:
void step(bool skip_break = false); // Do single step
void reset(); // Reset core (only core, memory and registers has to be reseted separately)
- unsigned cycles(); // Returns number of executed cycles
+ unsigned cycles() const; // Returns number of executed cycles
+ unsigned stalls() const; // Returns number of stall cycles
Registers *get_regs();
Cop0State *get_cop0state();