SimObject.py (14061:bd3e8e7a983d) | SimObject.py (14205:197360deaa20) |
---|---|
1# Copyright (c) 2017-2019 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 1072 unchanged lines hidden (view full) --- 1081class SimObject(object): 1082 # Specify metaclass. Any class inheriting from SimObject will 1083 # get this metaclass. 1084 __metaclass__ = MetaSimObject 1085 type = 'SimObject' 1086 abstract = True 1087 1088 cxx_header = "sim/sim_object.hh" | 1# Copyright (c) 2017-2019 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 1072 unchanged lines hidden (view full) --- 1081class SimObject(object): 1082 # Specify metaclass. Any class inheriting from SimObject will 1083 # get this metaclass. 1084 __metaclass__ = MetaSimObject 1085 type = 'SimObject' 1086 abstract = True 1087 1088 cxx_header = "sim/sim_object.hh" |
1089 cxx_extra_bases = [ "Drainable", "Serializable" ] | 1089 cxx_extra_bases = [ "Drainable", "Serializable", "Stats::Group" ] |
1090 eventq_index = Param.UInt32(Parent.eventq_index, "Event Queue Index") 1091 1092 cxx_exports = [ 1093 PyBindMethod("init"), 1094 PyBindMethod("initState"), 1095 PyBindMethod("memInvalidate"), 1096 PyBindMethod("memWriteback"), | 1090 eventq_index = Param.UInt32(Parent.eventq_index, "Event Queue Index") 1091 1092 cxx_exports = [ 1093 PyBindMethod("init"), 1094 PyBindMethod("initState"), 1095 PyBindMethod("memInvalidate"), 1096 PyBindMethod("memWriteback"), |
1097 PyBindMethod("regStats"), 1098 PyBindMethod("resetStats"), | |
1099 PyBindMethod("regProbePoints"), 1100 PyBindMethod("regProbeListeners"), 1101 PyBindMethod("startup"), 1102 ] 1103 1104 cxx_param_exports = [ 1105 PyBindProperty("name"), 1106 ] --- 656 unchanged lines hidden --- | 1097 PyBindMethod("regProbePoints"), 1098 PyBindMethod("regProbeListeners"), 1099 PyBindMethod("startup"), 1100 ] 1101 1102 cxx_param_exports = [ 1103 PyBindProperty("name"), 1104 ] --- 656 unchanged lines hidden --- |