gem5/src/python/m5
Andreas Sandberg c8b1e8f1cf python: Don't use Swig to cast stats
Call the stat visitor from the stat itself rather than casting stats
in Python. This reduces the number of ways visitors are called.

Change-Id: Ic4d0b7b32e3ab9897b9a34cd22d353f4da62d738
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Joe Gross <joseph.gross@amd.com>
2017-01-03 12:03:45 +00:00
..
internal swig: Fix issue with circular import in 2.0.9/2.0.10 2013-09-18 08:46:31 -04:00
objects swig: make all generated files go into the m5.internal package 2010-09-12 15:41:34 -07:00
stats python: Don't use Swig to cast stats 2017-01-03 12:03:45 +00:00
util misc: Bail out of DVFS dot if we cannot resolve the domains 2016-04-06 17:55:17 +01:00
__init__.py swig: Fix issue with circular import in 2.0.9/2.0.10 2013-09-18 08:46:31 -04:00
config.py Fix up regression execution to better handle tests that end abnormally. 2009-03-07 16:58:51 -08:00
core.py sim: move iterating over SimObjects into Python. 2010-08-17 05:08:50 -07:00
debug.py sim: Clarify the difference between tracing and debugging 2013-11-01 11:56:13 -04:00
event.py sim: simulate with multiple threads and event queues 2013-11-25 11:21:00 -06:00
main.py base: eliminate ipython warning 2016-09-15 18:21:38 +01:00
options.py python: cleanup options parsing stuff so that it properly deals with defaults. 2008-10-06 09:31:51 -07:00
params.py base: Output all AddrRange parameters to config.ini 2016-09-13 23:06:18 -04:00
proxy.py config: Avoid generating a reference to myself for Parent.any 2014-05-09 18:58:47 -04:00
SimObject.py sim: Remove redundant export_method_cxx_predecls 2017-01-03 12:03:06 +00:00
simulate.py misc: Bail out of DVFS dot if we cannot resolve the domains 2016-04-06 17:55:17 +01:00
ticks.py base: Add warn() and inform() to m5.utils for use from python 2013-02-15 17:40:10 -05:00
trace.py base: remove Trace::enabled flag 2015-09-30 15:21:55 -05:00