CommMonitor.py (10995:a114e2712642) | CommMonitor.py (10996:d48fda705f4d) |
---|---|
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 --- 39 unchanged lines hidden (view full) --- 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") 55 | 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 --- 39 unchanged lines hidden (view full) --- 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") 55 |
56 # Boolean to enable or disable the trace. Writes to an a file named based on 57 # SimObject hierarchy. 58 trace_enable = Param.Bool(False, "Enable trace capture") 59 60 # Boolean to compress the trace or not. 61 trace_compress = Param.Bool(True, "Enable trace compression") 62 63 # packet trace output file, disabled by default 64 trace_file = Param.String("", "Packet trace output file") 65 | |
66 # control the sample period window length of this monitor 67 sample_period = Param.Clock("1ms", "Sample period for histograms") 68 69 # for each histogram, set the number of bins and enable the user 70 # to disable the measurement, reads and writes use the same 71 # parameters 72 73 # histogram of burst length of packets (not using sample period) --- 39 unchanged lines hidden --- | 56 # control the sample period window length of this monitor 57 sample_period = Param.Clock("1ms", "Sample period for histograms") 58 59 # for each histogram, set the number of bins and enable the user 60 # to disable the measurement, reads and writes use the same 61 # parameters 62 63 # histogram of burst length of packets (not using sample period) --- 39 unchanged lines hidden --- |