mem-cache: AMPM Prefetcher fails when restoring from a checkpoint
authorJavier Bueno <javier.bueno@metempsy.com>
Tue, 2 Apr 2019 21:34:20 +0000 (23:34 +0200)
committerJavier Bueno Hedo <javier.bueno@metempsy.com>
Thu, 4 Apr 2019 12:13:14 +0000 (12:13 +0000)
commitc2c1a976ee76cf3064045a21187ca985ca88a347
tree25e59c1f60fb26338a515a37afbcd21e3dc6eb8f
parente13d6dc9c0d7a4ae0215f1ee6793eb32570c5169
mem-cache: AMPM Prefetcher fails when restoring from a checkpoint

The preriodic event triggers an assertion due to an incorrect tick value to
schedule when restoring from a checkpoint.

Change-Id: I9454dd0c97d5a098f8a409886e63f7a7e990947c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17732
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/prefetch/access_map_pattern_matching.cc
src/mem/cache/prefetch/access_map_pattern_matching.hh