diff options
author | Curtis Dunham <Curtis.Dunham@arm.com> | 2017-05-18 21:18:48 +0000 |
---|---|---|
committer | Andreas Sandberg <andreas.sandberg@arm.com> | 2017-07-05 14:24:03 +0000 |
commit | e2a049e089b4878d6abd8e816973b175e2be2d7c (patch) | |
tree | 196ca2952e623920c1d8da558b8fef3a4c0e5784 /src/sim/stat_register.hh | |
parent | b829b4a8e4ef82345cf81d442dbc6c67016fde98 (diff) | |
download | gem5-e2a049e089b4878d6abd8e816973b175e2be2d7c.tar.xz |
dev,arm: remove and recreate timer events around drains
Having timer events stored in checkpoints complicates Kvm
execution. We change the timer behavior so that it always
deschedules any pending events on a drain() and recreates
them on a drainResume(), thus they will never appear in
checkpoints henceforth. This pattern of behavior makes
it simpler to handle Kvm execution, where the hardware
performs the timer function directly.
Change-Id: Ia218868c69350d96e923c640634d492b5c19cd3f
Reviewed-on: https://gem5-review.googlesource.com/3541
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/sim/stat_register.hh')
0 files changed, 0 insertions, 0 deletions