From: Ron Dreslinski Date: Fri, 8 Apr 2005 21:19:56 +0000 (-0400) Subject: Add Parameter to only do prefetch calculations on data accesses not instruction accesses X-Git-Tag: m5_1.0_tutorial~64^2~7^2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d2f663d3aa993b5914cb27fab7c859fd4829001;p=gem5.git Add Parameter to only do prefetch calculations on data accesses not instruction accesses --HG-- extra : convert_revision : 85c987561a962f21466f0c1bd0473300d341c398 --- diff --git a/python/m5/objects/BaseCache.mpy b/python/m5/objects/BaseCache.mpy index 214e0555c..a9bda5c99 100644 --- a/python/m5/objects/BaseCache.mpy +++ b/python/m5/objects/BaseCache.mpy @@ -58,3 +58,5 @@ simobj BaseCache(BaseMem): "Check if in cash on push or pop of prefetch queue") prefetch_use_cpu_id = Param.Bool(True, "Use the CPU ID to seperate calculations of prefetches") + prefetch_data_accesses_only = Param.Bool(False, + "Only prefetch on data not on instruction accesses")