Files
gem5/util
Hoa Nguyen 3530b8659e util: Fix checkpoint-tester.py checkpoint parameter
checkpoint-tester script tests gem5's checkpoints by
using gem5 to produce a series of checkpoints, each with
a specified interval. After that, for all K > 1,
each of K-th produced checkpoint is used by gem5 to produce
the {K+1}-th checkpoint. The newly produced checkpoint will
be compared against the {K+1}-th checkpoint that was
previously produced.

Previously, in the tester script, the inputs to
`--take-checkpoints X,Y` was `(interval, interval)`.
The intention was to restore the N-th checkpoint and to run
the simulation for `interval` ticks.

According to the current configs/common/Options.py file,
`--take-checkpoints X,Y` means `X` is the starting tick of
the simulation, while `Y` is the number of ticks to be simulated
after tick `X`.

Therefore, `X` should be the starting tick of the N-th checkpont,
and this change addresses this problem.

Change-Id: I1fd7c91c9454f42a4fb98aa878fb5e4ac7d238f3
Signed-off-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/44449
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
2021-05-04 02:28:13 +00:00
..
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00
2020-12-09 12:05:58 +00:00
2021-04-19 09:21:51 +00:00
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00
2021-03-31 08:43:39 +00:00
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00
2020-11-27 15:17:30 +00:00