Searched hist:12024 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/python/m5/ | ||
H A D | event.py | 12024:4ae7a812176a Tue May 09 14:06:00 EDT 2017 Andreas Sandberg <andreas.sandberg@arm.com> python: Add a helper function to create Python events Add a helper function, m5.event.create(), to create events from Python. This function takes a callable Python object (e.g., a function) as an argument and optionally a priority as a keyword argument. This function was accidentally dropped from the public API when switching to PyBind. Change-Id: Icbd0e392d9506934ec2c9f541199aa35c1c2df8c Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-by: Curtis Dunham <curtis.dunham@arm.com> Reviewed-on: https://gem5-review.googlesource.com/3220 Reviewed-by: Gabe Black <gabeblack@google.com> |
Completed in 4 milliseconds