cpu, sim: Remove unused System::totalNumInst
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 7 Feb 2020 16:50:22 +0000 (16:50 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 3 Dec 2020 09:41:37 +0000 (09:41 +0000)
commitd5ede90a5dd179574808b95809cb5bfacfe81454
tree7f848848ac73e1dcb9802bf0f85a81263613da35
parenta90f583769ff28c70d2ff615816a164452b74942
cpu, sim: Remove unused System::totalNumInst

This counter gets augmented for every executed instruction but it
is not used. It is also overlapping with the

BaseCPU::numSimulatedInsts

A client willing to know the number of simulated instruction should rely
on the interface above.

Change-Id: Ic5c805ac3b2e87bbacb365108d4060f53e044b4e
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25305
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/kvm/base.cc
src/cpu/minor/execute.cc
src/cpu/o3/cpu.cc
src/cpu/simple/base.cc
src/cpu/simple/timing.cc
src/sim/system.cc
src/sim/system.hh