stats: Fixing regStats function for some SimObjects
authorDavid Guillen Fandos <david.guillen@arm.com>
Mon, 6 Jun 2016 16:16:43 +0000 (17:16 +0100)
committerDavid Guillen Fandos <david.guillen@arm.com>
Mon, 6 Jun 2016 16:16:43 +0000 (17:16 +0100)
commit70798b1ba0a5b9a7242b48bf9598957476f8168b
tree5cdcb4e59a49483ac44eeda3af557fc573038034
parent589033c94c0381fe4e67cebe08352b6e1fbcde2e
stats: Fixing regStats function for some SimObjects

Fixing an issue with regStats not calling the parent class method
for most SimObjects in Gem5. This causes issues if one adds new
stats in the base class (since they are never initialized properly!).

Change-Id: Iebc5aa66f58816ef4295dc8e48a357558d76a77c
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
30 files changed:
src/arch/alpha/tlb.cc
src/arch/mips/tlb.cc
src/arch/power/tlb.cc
src/cpu/o3/probe/elastic_trace.cc
src/cpu/pred/bpred_unit.cc
src/cpu/testers/memtest/memtest.cc
src/dev/arm/flash_device.cc
src/dev/arm/hdlcd.cc
src/dev/arm/ufs_device.cc
src/gpu-compute/compute_unit.cc
src/gpu-compute/gpu_tlb.cc
src/gpu-compute/lds_state.cc
src/gpu-compute/lds_state.hh
src/gpu-compute/tlb_coalescer.cc
src/gpu-compute/wavefront.cc
src/mem/probes/stack_dist.cc
src/mem/ruby/network/garnet/BaseGarnetNetwork.cc
src/mem/ruby/network/garnet/fixed-pipeline/Router_d.cc
src/mem/ruby/network/simple/SimpleNetwork.cc
src/mem/ruby/network/simple/Switch.cc
src/mem/ruby/slicc_interface/AbstractController.cc
src/mem/ruby/structures/CacheMemory.cc
src/mem/ruby/structures/Prefetcher.cc
src/mem/ruby/system/GPUCoalescer.cc
src/mem/ruby/system/RubySystem.hh
src/mem/ruby/system/Sequencer.cc
src/mem/snoop_filter.cc
src/sim/clock_domain.cc
src/sim/power/thermal_domain.cc
src/sim/voltage_domain.cc