diff --git a/configs/example/gem5_library/x86-npb-benchmarks.py b/configs/example/gem5_library/x86-npb-benchmarks.py index 2cb314303f..ff363e449c 100644 --- a/configs/example/gem5_library/x86-npb-benchmarks.py +++ b/configs/example/gem5_library/x86-npb-benchmarks.py @@ -237,12 +237,11 @@ def handle_workbegin(): # marked by `workend`. # We exepect that ROI ends with `workend` or `simulate() limit reached`. -# Otherwise the simulation ended unexpectedly. def handle_workend(): print("Dump stats at the end of the ROI!") m5.stats.dump() - yield False + yield True simulator = Simulator(