From 0f750ff2c221db206788cdcbe500461b1c27c204 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 14 Aug 2020 00:26:06 -0700 Subject: [PATCH] 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 --- src/sim/power_state.hh | 8 -------- 1 file changed, 8 deletions(-) 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__ -- 2.30.2