From: Mahyar Samani Date: Mon, 19 Oct 2020 07:18:16 +0000 (-0700) Subject: cpu,stats: Update stats for tage_sc_l to new style stats X-Git-Tag: develop-gem5-snapshot~370 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf222d94e31e7769641b9014406988eafacc7576;p=gem5.git cpu,stats: Update stats for tage_sc_l to new style stats 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 Reviewed-by: Trivikram Reddy Maintainer: Bobby R. Bruce Tested-by: kokoro --- diff --git a/src/cpu/pred/tage_sc_l.cc b/src/cpu/pred/tage_sc_l.cc index 01171cbb6..bde71a858 100644 --- a/src/cpu/pred/tage_sc_l.cc +++ b/src/cpu/pred/tage_sc_l.cc @@ -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(); -} diff --git a/src/cpu/pred/tage_sc_l.hh b/src/cpu/pred/tage_sc_l.hh index b8714ad83..d4986e28c 100644 --- a/src/cpu/pred/tage_sc_l.hh +++ b/src/cpu/pred/tage_sc_l.hh @@ -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;