sim, arch, base: Refactor the base remote GDB class.
[gem5.git] / src / sim / clocked_object.hh
index b88f2435da43ff194b5d703141cd0255611a6ced..b89e1ce13a8eacbccc2a96e7632861389cca92c1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012-2013, 2015 ARM Limited
+ * Copyright (c) 2012-2013, 2015-2016 ARM Limited
  * Copyright (c) 2013 Cornell University
  * All rights reserved
  *
@@ -51,7 +51,6 @@
 
 #include "base/callback.hh"
 #include "base/intmath.hh"
-#include "base/misc.hh"
 #include "enums/PwrState.hh"
 #include "params/ClockedObject.hh"
 #include "sim/core.hh"
@@ -257,14 +256,14 @@ class ClockedObject
 
     /**
      * Record stats values like state residency by computing the time
-     * difference from previous update. Also, updates the previous
-     * evaluation tick once all stats are recorded.
+     * difference from previous update. Also, updates the previous evaluation
+     * tick once all stats are recorded.
      * Usually called on power state change and stats dump callback.
      */
     void computeStats();
 
     void pwrState(Enums::PwrState);
-    void regStats();
+    void regStats() override;
 
   protected: