base: Initialize storage params on constructor
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Sat, 15 Feb 2020 13:54:21 +0000 (14:54 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 5 Feb 2021 19:01:41 +0000 (19:01 +0000)
commit1055e187cc61c01996774bcc681d26ea43cac089
treee96d4afc212c80941f20f02ff0a912180524600a
parent0f7441fa2d7fe02f403537866ca55940369f93b7
base: Initialize storage params on constructor

Force error checking on storage params by imposing it on construction.

Change-Id: I66a902cd5a7c809d3ac5be65b406de29fc0acf1c
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/25426
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
src/base/statistics.hh
src/base/stats/storage.cc
src/base/stats/storage.hh
src/base/stats/storage.test.cc