ruby: Deprecation warning for RubyMemoryControl
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 26 May 2015 07:21:34 +0000 (03:21 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 26 May 2015 07:21:34 +0000 (03:21 -0400)
A step towards removing RubyMemoryControl and shift users to
DRAMCtrl. The latter is faster, more representative, very versatile,
and is integrated with power models.

src/mem/ruby/structures/RubyMemoryControl.cc

index a7a815adbb7b23ca4dfb678e21297dc7d46d9389..adf3dcc535ee418564c0bc8bdfaa60c8132394f2 100644 (file)
@@ -169,6 +169,8 @@ RubyMemoryControl::RubyMemoryControl(const Params *p)
                                           m_banks_per_rank,
                                           m_ranks_per_dimm,
                                           m_dimms_per_channel);
+
+    warn("RubyMemoryControl is deprecated, use a DRAMCtrl subclass instead\n");
 }
 
 void