I have noticed a change in the checkpoint creation compared to older
versions. Creating checkpoint using --take-checkpoint and either
--at-instruction or --simpoint creates a directory for each checkpoint in
the --checkpoint-dir with the following format:
cpt.[bench].[at_instruction]
[bench]: name of the benchmark being simulated
[at_instruction]: instruction at which checkpoint has been created
When restoring from a checkpoint there are two options:
1. using "-r [number]"
- [number]: an integer value in the range 0-max_num_checkpoints
- this is the format used in previous versions
2. using "-r [number]" + either "--at-instruction" or "--simpoint"
- [number]: instruction number at which checkpoint has been created
Second approach works fine. But, while it is possible to use the first
approach (it is allowed in the script) it searches for checkpoints in the
format "cpt.[at_instruction]" and does not include [bench] when searching
for checkpoints. So, the first approach to restore from checkpoints does not
succeed.
Regards,
Navid
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users