summaryrefslogtreecommitdiff
path: root/src/cpu/inorder/thread_context.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/inorder/thread_context.hh')
-rw-r--r--src/cpu/inorder/thread_context.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cpu/inorder/thread_context.hh b/src/cpu/inorder/thread_context.hh
index 96ec063c8..2e525eb2a 100644
--- a/src/cpu/inorder/thread_context.hh
+++ b/src/cpu/inorder/thread_context.hh
@@ -113,6 +113,9 @@ class InOrderThreadContext : public ThreadContext
/** Reads this CPU's ID. */
int cpuId() const { return cpu->cpuId(); }
+ /** Reads this CPU's Socket ID. */
+ uint32_t socketId() const { return cpu->socketId(); }
+
int contextId() const { return thread->contextId(); }
void setContextId(int id) { thread->setContextId(id); }