CommMonitor.py (9338:97b4a2be1e5b) | CommMonitor.py (9398:6a348f61220c) |
---|---|
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 --- 35 unchanged lines hidden (view full) --- 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 | 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 --- 35 unchanged lines hidden (view full) --- 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 # packet trace output file, disabled by default 53 trace_file = Param.String("", "Packet trace output file") 54 |
|
52 # control the sample period window length of this monitor 53 sample_period = Param.Clock("1ms", "Sample period for histograms") 54 55 # for each histogram, set the number of bins and enable the user 56 # to disable the measurement, reads and writes use the same 57 # parameters 58 59 # histogram of burst length of packets (not using sample period) --- 39 unchanged lines hidden --- | 55 # control the sample period window length of this monitor 56 sample_period = Param.Clock("1ms", "Sample period for histograms") 57 58 # for each histogram, set the number of bins and enable the user 59 # to disable the measurement, reads and writes use the same 60 # parameters 61 62 # histogram of burst length of packets (not using sample period) --- 39 unchanged lines hidden --- |