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 --- 29 unchanged lines hidden (view full) --- 38 39from m5.params import * 40from MemObject import MemObject 41 42# The communication monitor will most typically be used in combination 43# with periodic dumping and resetting of stats using schedStatEvent 44class CommMonitor(MemObject): 45 type = 'CommMonitor' |
46 cxx_header = "mem/comm_monitor.hh" |
47 48 # one port in each direction 49 master = MasterPort("Master port") 50 slave = SlavePort("Slave port") 51 52 # control the sample period window length of this monitor 53 sample_period = Param.Clock("1ms", "Sample period for histograms") 54 --- 44 unchanged lines hidden --- |