python: Rename doDrain()->drain() and make it do the right thing
authorAndreas Sandberg <Andreas.Sandberg@arm.com>
Fri, 2 Nov 2012 16:32:02 +0000 (11:32 -0500)
committerAndreas Sandberg <Andreas.Sandberg@arm.com>
Fri, 2 Nov 2012 16:32:02 +0000 (11:32 -0500)
commitdc01535c7e800189c4cb46cab470f4b958be94c7
tree031c5f3b6d8c3e43f493e2efbca413b32359f134
parent196397fea4e25f097b4a1624ee16fbbbc1c45b64
python: Rename doDrain()->drain() and make it do the right thing

There is no point in exporting the old drain() method in
Simulate.py. It should only be used internally by doDrain(). This
patch moves the old drain() method into doDrain() and renames
doDrain() to drain().
configs/common/Simulation.py
src/python/m5/simulate.py