Add in checkpointing in the frontend, so that when a checkpoint is called, the python handles it, and the simulation continues. Also, make it so that the cycle number is part of the cpt dir name, so that multiple checkpoints do not overwrite each other.
Add in checkpointing in the frontend, so that when a checkpoint is called, the python handles it, and the simulation continues. Also, make it so that the cycle number is part of the cpt dir name, so that multiple checkpoints do not overwrite each other.

--HG--
extra : convert_revision : a55e4ac20da5a57ea8735951b9070960b9b8298f

samueldotj/TeeRISC-Simulator,KuroeKurose/gem5,sobercoder/gem5,TUD-OS/gem5-dtu,briancoutinho0905/2dsampling,kaiyuanl/gem5,rjschof/gem5,rjschof/gem5,HwisooSo/gemV-update,sobercoder/gem5,briancoutinho0905/2dsampling,zlfben/gem5,gedare/gem5,HwisooSo/gemV-update,joerocklin/gem5,gem5/gem5,austinharris/gem5-riscv,rallylee/gem5,samueldotj/TeeRISC-Simulator,yb-kim/gemV,HwisooSo/gemV-update,briancoutinho0905/2dsampling,Weil0ng/gem5,gem5/gem5,TUD-OS/gem5-dtu,kaiyuanl/gem5,yb-kim/gemV,aclifton/cpeg853-gem5,gem5/gem5,Weil0ng/gem5,SanchayanMaity/gem5,samueldotj/TeeRISC-Simulator,KuroeKurose/gem5,TUD-OS/gem5-dtu,samueldotj/TeeRISC-Simulator,powerjg/gem5-ci-test,austinharris/gem5-riscv,gem5/gem5,zlfben/gem5,zlfben/gem5,TUD-OS/gem5-dtu,joerocklin/gem5,joerocklin/gem5,gedare/gem5,qizenguf/MLC-STT,rjschof/gem5,qizenguf/MLC-STT,HwisooSo/gemV-update,rjschof/gem5,SanchayanMaity/gem5,aclifton/cpeg853-gem5,cancro7/gem5,cancro7/gem5,yb-kim/gemV,sobercoder/gem5,rallylee/gem5,briancoutinho0905/2dsampling,Weil0ng/gem5,TUD-OS/gem5-dtu,powerjg/gem5-ci-test,kaiyuanl/gem5,markoshorro/gem5,powerjg/gem5-ci-test,aclifton/cpeg853-gem5,rallylee/gem5,rallylee/gem5,kaiyuanl/gem5,SanchayanMaity/gem5,qizenguf/MLC-STT,kaiyuanl/gem5,zlfben/gem5,aclifton/cpeg853-gem5,cancro7/gem5,markoshorro/gem5,kaiyuanl/gem5,joerocklin/gem5,briancoutinho0905/2dsampling,SanchayanMaity/gem5,austinharris/gem5-riscv,KuroeKurose/gem5,KuroeKurose/gem5,markoshorro/gem5,austinharris/gem5-riscv,yb-kim/gemV,gedare/gem5,cancro7/gem5,KuroeKurose/gem5,yb-kim/gemV,Weil0ng/gem5,SanchayanMaity/gem5,qizenguf/MLC-STT,samueldotj/TeeRISC-Simulator,joerocklin/gem5,qizenguf/MLC-STT,joerocklin/gem5,sobercoder/gem5,gem5/gem5,yb-kim/gemV,austinharris/gem5-riscv,gedare/gem5,powerjg/gem5-ci-test,sobercoder/gem5,rallylee/gem5,markoshorro/gem5,sobercoder/gem5,samueldotj/TeeRISC-Simulator,qizenguf/MLC-STT,markoshorro/gem5,markoshorro/gem5,HwisooSo/gemV-update,kaiyuanl/gem5,TUD-OS/gem5-dtu,joerocklin/gem5,zlfben/gem5,cancro7/gem5,KuroeKurose/gem5,Weil0ng/gem5,markoshorro/gem5,aclifton/cpeg853-gem5,powerjg/gem5-ci-test,austinharris/gem5-riscv,cancro7/gem5,KuroeKurose/gem5,zlfben/gem5,briancoutinho0905/2dsampling,HwisooSo/gemV-update,briancoutinho0905/2dsampling,rjschof/gem5,gedare/gem5,qizenguf/MLC-STT,SanchayanMaity/gem5,SanchayanMaity/gem5,powerjg/gem5-ci-test,gem5/gem5,joerocklin/gem5,austinharris/gem5-riscv,samueldotj/TeeRISC-Simulator,rjschof/gem5,aclifton/cpeg853-gem5,Weil0ng/gem5,rallylee/gem5,yb-kim/gemV,sobercoder/gem5,gedare/gem5,powerjg/gem5-ci-test,rjschof/gem5,HwisooSo/gemV-update,TUD-OS/gem5-dtu,gedare/gem5,yb-kim/gemV,cancro7/gem5,rallylee/gem5,gem5/gem5,aclifton/cpeg853-gem5,Weil0ng/gem5,zlfben/gem5