summaryrefslogtreecommitdiff
path: root/src/cpu/func_unit.cc
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2014-05-09 18:58:48 -0400
committerAndreas Hansson <andreas.hansson@arm.com>2014-05-09 18:58:48 -0400
commit60799dc5523e3a2174d7bf6a4f3e913e938b6163 (patch)
treece8e7e7b7a3a7830a186affa8e0cf711644592ee /src/cpu/func_unit.cc
parentb8631d9ae8a1f9c478ad81c7cc23304b4a7ca919 (diff)
downloadgem5-60799dc5523e3a2174d7bf6a4f3e913e938b6163.tar.xz
mem: Merge DRAM latency calculation and bank state update
This patch merges the two control paths used to estimate the latency and update the bank state. As a result of this merging the computation is now in one place only, and should be easier to follow as it is all done in absolute (rather than relative) time. As part of this change, the scheduling is also refined to ensure that we look at a sensible estimate of the bank ready time in choosing the next request. The bank latency stat is removed as it ends up being misleading when the DRAM access code gets evaluated ahead of time (due to the eagerness of waking the model up for scheduling the next request).
Diffstat (limited to 'src/cpu/func_unit.cc')
0 files changed, 0 insertions, 0 deletions