Checkpoints: Change Simulation.py to not go crazy if the simulation ends before the number of checkpoints requested are created.
Checkpoints: Change Simulation.py to not go crazy if the simulation ends before the number of checkpoints requested are created.

haowu4682/gem5,LingxiaoJIA/gem5,LingxiaoJIA/gem5,LingxiaoJIA/gem5,LingxiaoJIA/gem5,LingxiaoJIA/gem5,haowu4682/gem5,haowu4682/gem5,LingxiaoJIA/gem5,haowu4682/gem5,haowu4682/gem5,LingxiaoJIA/gem5,haowu4682/gem5,haowu4682/gem5,haowu4682/gem5,haowu4682/gem5