mem: Do not include snoop-filter latency in crossbar occupancy
[gem5.git] / src / mem / dram_ctrl.hh
index 1ea04fa560d20ec2545f1506ead126b46f4cb409..bf0be04a7cba49f99e41e7f96e2efb7e6fa95f9b 100644 (file)
@@ -670,12 +670,6 @@ class DRAMCtrl : public AbstractMemory
      */
     std::deque<DRAMPacket*> respQueue;
 
-    /**
-     * If we need to drain, keep the drain manager around until we're
-     * done here.
-     */
-    DrainManager *drainManager;
-
     /**
      * Vector of ranks
      */
@@ -878,7 +872,7 @@ class DRAMCtrl : public AbstractMemory
 
     DRAMCtrl(const DRAMCtrlParams* p);
 
-    unsigned int drain(DrainManager* dm);
+    DrainState drain() M5_ATTR_OVERRIDE;
 
     virtual BaseSlavePort& getSlavePort(const std::string& if_name,
                                         PortID idx = InvalidPortID);