arm: Don't checkpoint the SystemCounter's "_period" value.
authorGabe Black <gabeblack@google.com>
Wed, 15 Jan 2020 02:19:18 +0000 (18:19 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 13 Feb 2020 19:40:36 +0000 (19:40 +0000)
commit9d8f3f9ad3180959fee6d971f8ba0cf56462abc3
tree939fa79909af2cc2edace3e5495886164acee11b
parent0da40acd80be88d5570e44f2536e74de6206329f
arm: Don't checkpoint the SystemCounter's "_period" value.

This value is just a cached inverse of _freq and can be recalculated
easily once the checkpoint is restored. The actual value of _period
actually depends on the global resolution of time (ie how much time a
Tick represents), and so saving the value of _period is also not
technically correct, even though in practice that will very rarely
cause a problem.

Change-Id: I21e63ba25ac4e189417905e532981f3d80723f19
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24390
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/dev/arm/generic_timer.cc