ruby: Deprecation warning for RubyMemoryControl

A step towards removing RubyMemoryControl and shift users to
DRAMCtrl. The latter is faster, more representative, very versatile,
and is integrated with power models.
This commit is contained in:
Andreas Hansson 2015-05-26 03:21:34 -04:00
parent dbdb9ab518
commit 0cc350d2c5

View 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