cpu,stats: Update stats for tage_sc_l to new style stats
authorMahyar Samani <msamani@ucdavis.edu>
Mon, 19 Oct 2020 07:18:16 +0000 (00:18 -0700)
committerJason Lowe-Power <power.jg@gmail.com>
Thu, 10 Dec 2020 15:36:09 +0000 (15:36 +0000)
Updated tage_sc_l.hh and tage_sc_l.cc to use new style stats.

Change-Id: If172c95bb728c7c3748269469781212ef1da6f32
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36336
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-by: Trivikram Reddy <tvreddy@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
src/cpu/pred/tage_sc_l.cc
src/cpu/pred/tage_sc_l.hh

index 01171cbb6221c6d63eadbbe715ac6be6b04537e8..bde71a85837d7626c61e81aec5d97533e03bbaf8 100644 (file)
@@ -458,9 +458,3 @@ TAGE_SC_L::update(ThreadID tid, Addr branch_pc, bool taken, void *bp_history,
 
     delete bi;
 }
-
-void
-TAGE_SC_L::regStats()
-{
-    LTAGE::regStats();
-}
index b8714ad834438cd5262cfa29940731e1206ff24a..d4986e28c81fcf7fae123a25abf5bf321006cc30 100644 (file)
@@ -154,8 +154,6 @@ class TAGE_SC_L: public LTAGE
     bool predict(
         ThreadID tid, Addr branch_pc, bool cond_branch, void* &b) override;
 
-    void regStats() override;
-
     void update(ThreadID tid, Addr branch_addr, bool taken, void *bp_history,
                 bool squashed, const StaticInstPtr & inst,
                 Addr corrTarget) override;