fastmodel: Implement getCurrentInstCount.
authorGabe Black <gabeblack@google.com>
Mon, 14 Oct 2019 06:56:30 +0000 (23:56 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 25 Oct 2019 22:42:31 +0000 (22:42 +0000)
commit54b9d49ec79b8c93ce914d4c3600661363e829d5
tree2b0d3e6988b697c69cb46cdb2567ac0cb283f784
parent272a43175fc0de46ba1e264b3b1add5ea01d7e5d
fastmodel: Implement getCurrentInstCount.

This uses the step counter the iris API provides.

Change-Id: Ic916888fa256d0aa65042d3e6695d9bf4ba32c86
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22111
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/thread_context.cc
src/arch/arm/fastmodel/iris/thread_context.hh