diff options
author | Daniel <odanrc@yahoo.com.br> | 2019-04-05 11:28:53 +0200 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2019-05-14 07:55:06 +0000 |
commit | 0def916836a5cfb570e765d2e1e4774419b56ec6 (patch) | |
tree | ea964e085ea236f2829bcb3520a7a6befabd4385 /src/systemc/python/systemc.py | |
parent | e541767279f7d8b47f9892145a02f1f5c859be89 (diff) | |
download | gem5-0def916836a5cfb570e765d2e1e4774419b56ec6.tar.xz |
cpu: Revamp saturating counters
Revamp the SatCounter class, improving comments, implementing
increment, decrement and read operators to solve an old todo,
and adding missing error checking.
Change-Id: Ia057c423c90652ebd966b6b91a3471b17800f933
Signed-off-by: Daniel <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17992
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/systemc/python/systemc.py')
0 files changed, 0 insertions, 0 deletions