mem-cache: Add more compression stats
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Fri, 15 Feb 2019 13:48:19 +0000 (14:48 +0100)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 17 Jan 2020 16:31:03 +0000 (16:31 +0000)
commit7ff32d7b53b1a699f4383d3c9c5279b6ab894d55
tree2b6bfe945c7bf11530da0b5fd26873dbfe7b4f57
parent7dce9e3782523e1b1989c50be194385b93603aea
mem-cache: Add more compression stats

Add stats to calculate the total number of compressions, decompressions
and the average compression size, in number of bits.

Change-Id: I5eb563856c1ff54216e1edcd2886332b7481cbfe
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22609
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/compressors/base.cc
src/mem/cache/compressors/base.hh