CommMonitor.py (13665:9c7fe3811b88) CommMonitor.py (13892:0182a0601f66)
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

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

33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35#
36# Authors: Thomas Grass
37# Andreas Hansson
38
39from m5.params import *
40from m5.proxy import *
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

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

33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35#
36# Authors: Thomas Grass
37# Andreas Hansson
38
39from m5.params import *
40from m5.proxy import *
41from m5.objects.MemObject import MemObject
42from m5.objects.System import System
41from m5.objects.System import System
42from m5.SimObject import SimObject
43
44# The communication monitor will most typically be used in combination
45# with periodic dumping and resetting of stats using schedStatEvent
43
44# The communication monitor will most typically be used in combination
45# with periodic dumping and resetting of stats using schedStatEvent
46class CommMonitor(MemObject):
46class CommMonitor(SimObject):
47 type = 'CommMonitor'
48 cxx_header = "mem/comm_monitor.hh"
49
50 system = Param.System(Parent.any, "System that the monitor belongs to.")
51
52 # one port in each direction
53 master = MasterPort("Master port")
54 slave = SlavePort("Slave port")

--- 48 unchanged lines hidden ---
47 type = 'CommMonitor'
48 cxx_header = "mem/comm_monitor.hh"
49
50 system = Param.System(Parent.any, "System that the monitor belongs to.")
51
52 # one port in each direction
53 master = MasterPort("Master port")
54 slave = SlavePort("Slave port")

--- 48 unchanged lines hidden ---