SimObject.py (10584:babb40bd2fc6) SimObject.py (10905:a6ca6831e775)
1# Copyright (c) 2012 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

--- 906 unchanged lines hidden (view full) ---

915%import "python/swig/drain.i"
916%import "python/swig/serialize.i"
917''')
918
919 @classmethod
920 def export_methods(cls, code):
921 code('''
922 void init();
1# Copyright (c) 2012 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

--- 906 unchanged lines hidden (view full) ---

915%import "python/swig/drain.i"
916%import "python/swig/serialize.i"
917''')
918
919 @classmethod
920 def export_methods(cls, code):
921 code('''
922 void init();
923 void loadState(Checkpoint *cp);
923 void loadState(CheckpointIn &cp);
924 void initState();
925 void regStats();
926 void resetStats();
927 void regProbePoints();
928 void regProbeListeners();
929 void startup();
930''')
931

--- 594 unchanged lines hidden ---
924 void initState();
925 void regStats();
926 void resetStats();
927 void regProbePoints();
928 void regProbeListeners();
929 void startup();
930''')
931

--- 594 unchanged lines hidden ---