Searched hist:12036 (Results 1 - 4 of 4) sorted by relevance
/gem5/src/python/pybind11/ | ||
H A D | core.cc | diff 12036:634fbd07bc88 Tue May 09 14:28:00 EDT 2017 Andreas Sandberg <andreas.sandberg@arm.com> python: Prevent Python wrappers from deleting SimObjects The PyBind wrappers could potentially delete SimObjects if they don't have any references. This is not desirable since there could be pointers to such objects within the C++ world. This problem doesn't normally occur since Python typically holds a pointer to the root node as long as the simulator is running. Prevent SimObject and Param deletion by using a PyBind-prescribed unique_ptr with a dummy deleter as the pointer wrapper for the Python world. Change-Id: Ied14602c9ee69a083a69c5dae1b5fcf8efb4548a Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-on: https://gem5-review.googlesource.com/3224 Reviewed-by: Gabe Black <gabeblack@google.com> |
/gem5/src/systemc/core/ | ||
H A D | scheduler.hh | diff 12985:ec84697e4e63 Thu Jul 19 20:32:00 EDT 2018 Gabe Black <gabeblack@google.com> systemc: Handle event notifications scheduled before sc_start. After sc_start is called, gem5 has run far enough to have an event queue to schedule the notification events on. Before then, it's still legal to request a timed notification. The scheduler should keep track of those requests, and once an event queue is available it should add them to it. Change-Id: Ie7445b1f2e616f4bd36044a09dbef9e1d12d7350 Reviewed-on: https://gem5-review.googlesource.com/12036 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> |
H A D | scheduler.cc | diff 12985:ec84697e4e63 Thu Jul 19 20:32:00 EDT 2018 Gabe Black <gabeblack@google.com> systemc: Handle event notifications scheduled before sc_start. After sc_start is called, gem5 has run far enough to have an event queue to schedule the notification events on. Before then, it's still legal to request a timed notification. The scheduler should keep track of those requests, and once an event queue is available it should add them to it. Change-Id: Ie7445b1f2e616f4bd36044a09dbef9e1d12d7350 Reviewed-on: https://gem5-review.googlesource.com/12036 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com> |
/gem5/src/python/m5/ | ||
H A D | SimObject.py | diff 12036:634fbd07bc88 Tue May 09 14:28:00 EDT 2017 Andreas Sandberg <andreas.sandberg@arm.com> python: Prevent Python wrappers from deleting SimObjects The PyBind wrappers could potentially delete SimObjects if they don't have any references. This is not desirable since there could be pointers to such objects within the C++ world. This problem doesn't normally occur since Python typically holds a pointer to the root node as long as the simulator is running. Prevent SimObject and Param deletion by using a PyBind-prescribed unique_ptr with a dummy deleter as the pointer wrapper for the Python world. Change-Id: Ied14602c9ee69a083a69c5dae1b5fcf8efb4548a Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-on: https://gem5-review.googlesource.com/3224 Reviewed-by: Gabe Black <gabeblack@google.com> |
Completed in 64 milliseconds