Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python,stdlib: Improve exit event return #947

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

BobbyRBruce
Copy link
Member

[WIP: Not ready for review].

This gives the user access to the returned `GlobalSimLoopExitEvent`
object on the Python level. This allows managing of exit events at the
Python configuration script (assuming they aren't handled by the `run`
function by user-specified or default Exit Event generators/functions.

Tests have been updated to check this behavior.

Change-Id: I6de71c25acb335f7e89dcb8ca80656b407207c07
@BobbyRBruce BobbyRBruce added stdlib The gem5 standard library. Code typically found under "src/pythongem5" python gem5's Python SimObject wrapping and infrastructure labels Mar 19, 2024
@BobbyRBruce BobbyRBruce force-pushed the exit-event-objects branch 2 times, most recently from c3995d6 to 579413f Compare March 19, 2024 21:35
WIP

Change-Id: Iefd21602f90cc1cd3b7dba670e065751f46d9d2c
Change-Id: Ia8a60c0eb1a7ac36430862b185149f64a288d0dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python gem5's Python SimObject wrapping and infrastructure stdlib The gem5 standard library. Code typically found under "src/pythongem5"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify gem5 to pass an object upon an exit event instead of a string
1 participant