From 2b1a01ee6ccda9f046b1ceb13c90ee0635473959 Mon Sep 17 00:00:00 2001 From: Akash Bagdia Date: Fri, 9 May 2014 18:58:46 -0400 Subject: cpu, arm: Allow the specification of a socket field Allow the specification of a socket ID for every core that is reflected in the MPIDR field in ARM systems. This allows studying multi-socket / cluster systems with ARM CPUs. --- src/cpu/checker/thread_context.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cpu/checker') diff --git a/src/cpu/checker/thread_context.hh b/src/cpu/checker/thread_context.hh index ddd07ea58..f868f4cbb 100644 --- a/src/cpu/checker/thread_context.hh +++ b/src/cpu/checker/thread_context.hh @@ -92,6 +92,8 @@ class CheckerThreadContext : public ThreadContext BaseCPU *getCpuPtr() { return actualTC->getCpuPtr(); } + uint32_t socketId() const { return actualTC->socketId(); } + int cpuId() const { return actualTC->cpuId(); } int contextId() const { return actualTC->contextId(); } -- cgit v1.2.3