Bobby Bruce has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/66513?usp=email )
Change subject: configs: Alter x86-npb-benchmarks.py to exit after WORKEND
......................................................................
configs: Alter x86-npb-benchmarks.py to exit after WORKEND
While the config script will still function without exiting the SimLoop
after the "WORKEND" exit event, there's no need for the simulation to
continue beyond this point.
Change-Id: I60691215e9516fa1eeb8b8502f2bc5a09de2969b
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/66513
Tested-by: kokoro <noreply+kok...@google.com>
Reviewed-by: Jason Lowe-Power <power...@gmail.com>
Maintainer: Bobby Bruce <bbr...@ucdavis.edu>
---
M configs/example/gem5_library/x86-npb-benchmarks.py
1 file changed, 18 insertions(+), 2 deletions(-)
Approvals:
Bobby Bruce: Looks good to me, approved
kokoro: Regressions pass
Jason Lowe-Power: Looks good to me, approved
diff --git a/configs/example/gem5_library/x86-npb-benchmarks.py
b/configs/example/gem5_library/x86-npb-benchmarks.py
index 2cb3143..ff363e4 100644
--- a/configs/example/gem5_library/x86-npb-benchmarks.py
+++ b/configs/example/gem5_library/x86-npb-benchmarks.py
@@ -237,12 +237,11 @@
# 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(
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/66513?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I60691215e9516fa1eeb8b8502f2bc5a09de2969b
Gerrit-Change-Number: 66513
Gerrit-PatchSet: 2
Gerrit-Owner: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Jason Lowe-Power <ja...@lowepower.com>
Gerrit-Reviewer: Jason Lowe-Power <power...@gmail.com>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org