Modify gem5 to pass an object upon an exit event instead of a string #751
Labels
enhancement
python
gem5's Python SimObject wrapping and infrastructure
stdlib
The gem5 standard library. Code typically found under "src/pythongem5"
Milestone
I've resurrected this issue from our old Jira service: https://gem5.atlassian.net/browse/GEM5-1128
This task is mostly related in how the gem5 simulator returns an exit event event. At present the only meaningful information communicated is the exit event cause string. In this Simulator package we parse this and classify exit events into broad categories. gem5 should be modified to return an object containing information on how an exit event was triggered, at what tick and instruction, and what kind of exit event was triggered (user interrupt, tick/instruction count reached, CPU switch request, etc).
This change will require considerable refactoring of the Simulation package.
Modifying exit events to return objects instead of strings was also discussed here: https://gem5-review.googlesource.com/c/public/gem5/+/66231
The text was updated successfully, but these errors were encountered: