base: Move SatCounter to base directory
authorDaniel <odanrc@yahoo.com.br>
Wed, 10 Apr 2019 21:11:46 +0000 (23:11 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Tue, 14 May 2019 07:55:06 +0000 (07:55 +0000)
commit578dd474b9d91aae48c87bb2c964eb1a1a8b58de
treed189adb3931f510475a124eb0ec461ba0bb8fcbc
parent0def916836a5cfb570e765d2e1e4774419b56ec6
base: Move SatCounter to base directory

Saturating counters are used by many objects, not only
the cpu predictors. Therefore, move the class to the
base folder so that it can be more easily used.

Change-Id: I26f799324bdd8720ab8834c72a2002149cee777c
Signed-off-by: Daniel <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17993
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
src/base/sat_counter.hh [new file with mode: 0644]
src/cpu/pred/2bit_local.hh
src/cpu/pred/bi_mode.hh
src/cpu/pred/sat_counter.hh [deleted file]
src/cpu/pred/tournament.hh