diff options
Diffstat (limited to 'src/cpu/thread_state.hh')
-rw-r--r-- | src/cpu/thread_state.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/thread_state.hh b/src/cpu/thread_state.hh index 5cbc3322b..e3b6af9da 100644 --- a/src/cpu/thread_state.hh +++ b/src/cpu/thread_state.hh @@ -127,7 +127,7 @@ struct ThreadState : public Serializable { /** Reads the number of instructions functionally executed and * committed. */ - Counter readFuncExeInst() { return funcExeInst; } + Counter readFuncExeInst() const { return funcExeInst; } /** Sets the total number of instructions functionally executed * and committed. |