From: Gabe Black Date: Fri, 14 Aug 2020 07:26:06 +0000 (-0700) Subject: sim: Delete the unused PowerStateDumpCallback. X-Git-Tag: v20.1.0.0~287 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f750ff2c221db206788cdcbe500461b1c27c204;p=gem5.git sim: Delete the unused PowerStateDumpCallback. Issue-on: https://gem5.atlassian.net/browse/GEM5-698 Change-Id: I8e66f31a3a6a82564d9525021ada49ce52beb1fa Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32646 Reviewed-by: Andreas Sandberg Maintainer: Gabe Black Tested-by: kokoro --- diff --git a/src/sim/power_state.hh b/src/sim/power_state.hh index fededf8f8..13e36e585 100644 --- a/src/sim/power_state.hh +++ b/src/sim/power_state.hh @@ -151,12 +151,4 @@ class PowerState : public SimObject } stats; }; -class PowerStateDumpCallback : public Callback -{ - PowerState *co; - public: - PowerStateDumpCallback(PowerState *co_t) : co(co_t) {} - virtual void process() { co->computeStats(); }; -}; - #endif //__SIM_POWER_STATE_HH__