fastmodel: Use getCurrentInstCount for totalInsts().
authorGabe Black <gabeblack@google.com>
Mon, 14 Oct 2019 06:57:22 +0000 (23:57 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 25 Oct 2019 22:42:31 +0000 (22:42 +0000)
commitbdfeefa4a8de4b553fbc41d359449abe87b3c5ba
tree4eae038609edece48a9d94f7c09eb712f7b59d15
parent54b9d49ec79b8c93ce914d4c3600661363e829d5
fastmodel: Use getCurrentInstCount for totalInsts().

This had been using a custom totalInsts method on the iris
ThreadContext, but since that's equivalent to what the totalInsts
method does only through a different mechanism, we can
drop that and use getCurrentInstCount instead.

Change-Id: I058fec13e81f28285281e136635d53a2e849cb47
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22112
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/fastmodel/iris/arm/thread_context.cc
src/arch/arm/fastmodel/iris/arm/thread_context.hh
src/arch/arm/fastmodel/iris/cpu.cc
src/arch/arm/fastmodel/iris/thread_context.hh