sim: Delete the unused PowerStateDumpCallback.
authorGabe Black <gabeblack@google.com>
Fri, 14 Aug 2020 07:26:06 +0000 (00:26 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 18 Aug 2020 19:53:48 +0000 (19:53 +0000)
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 <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/sim/power_state.hh

index fededf8f820e116080d8c89009f8ed0b472b7584..13e36e5854e4f1cbf2da83c996250a8af7780898 100644 (file)
@@ -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__