cpu: isDrained renamed to isCpuDrained
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 28 Jun 2019 09:04:43 +0000 (10:04 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 16 Jul 2019 13:16:42 +0000 (13:16 +0000)
commit34e77161fb42847797338ffe95674f248798ab43
treef9d097e30ed18bc358eb7f8c647eaefc590d6341
parent9af53ddaec43653d915649173660dc5c71f06a72
cpu: isDrained renamed to isCpuDrained

cpu models inheriting from BaseCPU implement a draining checker called
isDrained. This hides the base Drainable::isDrained method and might
create confusion in the reader.
This patch is renaming it to isCpuDrained in order to avoid any
ambiguity

Change-Id: Ie5221da6a4673432c2403996e42d451cae960bbf
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/19468
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/o3/cpu.cc
src/cpu/o3/cpu.hh
src/cpu/simple/atomic.cc
src/cpu/simple/atomic.hh
src/cpu/simple/timing.cc
src/cpu/simple/timing.hh