summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorDaniel <odanrc@yahoo.com.br>2019-04-13 11:02:43 +0200
committerDaniel Carvalho <odanrc@yahoo.com.br>2019-05-14 07:55:06 +0000
commit50a533f10134e7bc377dfdb9209b0334fd01cd24 (patch)
treec92958ae7fcbe135b84ade80ffbc5fbcb94e84e4 /src/mem
parent5b3f91daf6891c68e978963701d792ebd63f23a7 (diff)
downloadgem5-50a533f10134e7bc377dfdb9209b0334fd01cd24.tar.xz
base: Add operators to SatCounter
Add shift, add and subtract assignment operators, as well as copy and move constructor and assignments to SatCounter, so that it they can be used by the prefetchers. Also add extra useful functions to calculate saturation oercentile so that the instantiator does not need to be aware of the counter's maximum value. Change-Id: I61d0cb28c8375b9d2774a39011e4a0aa6fe9ccb7 Signed-off-by: Daniel <odanrc@yahoo.com.br> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17996 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/mem')
0 files changed, 0 insertions, 0 deletions