mem: Track DRAM read/write switching and add hysteresis
authorAndreas Hansson <andreas.hansson@arm.com>
Sun, 23 Mar 2014 15:12:14 +0000 (11:12 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Sun, 23 Mar 2014 15:12:14 +0000 (11:12 -0400)
commita00383a40aeb8347af7e05f3966ab141484921a5
tree606791537a5ecb3b8f349ca65cfd57bce9077327
parent7c18691db1bc450b04142502e5c324ad612318ab
mem: Track DRAM read/write switching and add hysteresis

This patch adds stats for tracking the number of reads/writes per bus
turn around, and also adds hysteresis to the write-to-read switching
to ensure that the queue does not oscilate around the low threshold.
src/mem/dram_ctrl.cc
src/mem/dram_ctrl.hh