MemFootprintProbe.py (11803:4f04a6593119) | MemFootprintProbe.py (13665:9c7fe3811b88) |
---|---|
1# Copyright (c) 2016 Google Inc. 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and 5# shall not be construed as granting a license to any other 6# intellectual property including but not limited to intellectual 7# property relating to a hardware implementation of the 8# functionality of the software licensed hereunder. You may use the --- 24 unchanged lines hidden (view full) --- 33# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36# 37# Authors: Rahul Thakur 38 39from m5.params import * 40from m5.proxy import * | 1# Copyright (c) 2016 Google Inc. 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and 5# shall not be construed as granting a license to any other 6# intellectual property including but not limited to intellectual 7# property relating to a hardware implementation of the 8# functionality of the software licensed hereunder. You may use the --- 24 unchanged lines hidden (view full) --- 33# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36# 37# Authors: Rahul Thakur 38 39from m5.params import * 40from m5.proxy import * |
41from BaseMemProbe import BaseMemProbe | |
42 | 41 |
42from m5.objects.BaseMemProbe import BaseMemProbe 43 |
|
43class MemFootprintProbe(BaseMemProbe): 44 type = "MemFootprintProbe" 45 cxx_header = "mem/probes/mem_footprint.hh" 46 system = Param.System(Parent.any, 47 "System pointer to get cache line and mem size") 48 page_size = Param.Unsigned(4096, "Page size for page-level footprint") | 44class MemFootprintProbe(BaseMemProbe): 45 type = "MemFootprintProbe" 46 cxx_header = "mem/probes/mem_footprint.hh" 47 system = Param.System(Parent.any, 48 "System pointer to get cache line and mem size") 49 page_size = Param.Unsigned(4096, "Page size for page-level footprint") |