summaryrefslogtreecommitdiff
path: root/src/mem/cache/compressors/bdi.hh
diff options
context:
space:
mode:
authorDaniel R. Carvalho <odanrc@yahoo.com.br>2018-05-29 17:30:29 +0200
committerDaniel Carvalho <odanrc@yahoo.com.br>2019-05-08 17:41:09 +0000
commit0e276f6512cac540ab546baf02fd931b7181d55b (patch)
tree1700003bb3f09b7612e18277f371f1ef88467fa2 /src/mem/cache/compressors/bdi.hh
parentf21f4a049e02df58dfb1cb3e651ced276f03c4ba (diff)
downloadgem5-0e276f6512cac540ab546baf02fd931b7181d55b.tar.xz
mem-cache: Add compression stats
Add compression statistics to the compressors. It tracks the number of blocks that can fit into a certain power of two size, and the number of decompressions. For example, if a block is compressed to 100 bits, it will belong to the 128-bits compression size. Although it could also fit bigger sizes, they are not taken into account for the stats (i.e., the 100-bit compression will fit only the 128-bits size, not 256 or higher). We save stats for compressions that fail (i.e., compressed size is bigger than original cache line size). Change-Id: Idab71a40a660e33259908ccd880e42a880b5ee06 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/11103 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/cache/compressors/bdi.hh')
0 files changed, 0 insertions, 0 deletions