|
gem5 [DEVELOP-FOR-25.0]
|
#include <statistical_corrector.hh>
Public Member Functions | |
| SCThreadHistory (unsigned instShiftAmt) | |
| void | setNumOrdinalHistories (unsigned num) |
| void | initLocalHistory (int ordinal, int numHistories, int shift) |
| int64_t | getLocalHistory (int ordinal, Addr pc) |
| void | setLocalHistory (int ordinal, Addr pc, int64_t value) |
| void | updateLocalHistory (int ordinal, Addr branch_pc, bool taken, Addr extraXor=0) |
Public Attributes | |
| const unsigned | instShiftAmt |
| int64_t | bwHist |
| int64_t | imliCount |
| int64_t | pHist |
Private Member Functions | |
| unsigned | getEntry (Addr pc, unsigned idx) |
Private Attributes | |
| std::vector< int64_t > * | localHistories |
| std::vector< int > | shifts |
| unsigned | numOrdinalHistories |
Definition at line 76 of file statistical_corrector.hh.
|
inline |
Definition at line 78 of file statistical_corrector.hh.
References bwHist, imliCount, instShiftAmt, numOrdinalHistories, and pHist.
Referenced by gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory::MPP_SCThreadHistory(), gem5::branch_prediction::TAGE_SC_L_64KB_StatisticalCorrector::SC_64KB_ThreadHistory::SC_64KB_ThreadHistory(), and gem5::branch_prediction::TAGE_SC_L_8KB_StatisticalCorrector::SC_8KB_ThreadHistory::SC_8KB_ThreadHistory().
|
inlineprivate |
Definition at line 143 of file statistical_corrector.hh.
References instShiftAmt, localHistories, gem5::MipsISA::pc, and shifts.
Referenced by getLocalHistory(), setLocalHistory(), and updateLocalHistory().
|
inline |
Definition at line 108 of file statistical_corrector.hh.
References getEntry(), localHistories, numOrdinalHistories, and gem5::MipsISA::pc.
|
inline |
Definition at line 100 of file statistical_corrector.hh.
References gem5::isPowerOf2(), localHistories, numOrdinalHistories, gem5::ArmISA::shift, and shifts.
|
inline |
Definition at line 115 of file statistical_corrector.hh.
References getEntry(), localHistories, numOrdinalHistories, and gem5::MipsISA::pc.
|
inline |
Definition at line 91 of file statistical_corrector.hh.
References localHistories, gem5::branch_prediction::StatisticalCorrector::MaxOrdinalHistories, numOrdinalHistories, and shifts.
|
inline |
Definition at line 122 of file statistical_corrector.hh.
References getEntry(), localHistories, and numOrdinalHistories.
| int64_t gem5::branch_prediction::StatisticalCorrector::SCThreadHistory::bwHist |
Definition at line 87 of file statistical_corrector.hh.
Referenced by SCThreadHistory().
| int64_t gem5::branch_prediction::StatisticalCorrector::SCThreadHistory::imliCount |
Definition at line 88 of file statistical_corrector.hh.
Referenced by SCThreadHistory().
| const unsigned gem5::branch_prediction::StatisticalCorrector::SCThreadHistory::instShiftAmt |
Definition at line 86 of file statistical_corrector.hh.
Referenced by getEntry(), gem5::branch_prediction::MPP_StatisticalCorrector::MPP_SCThreadHistory::MPP_SCThreadHistory(), gem5::branch_prediction::TAGE_SC_L_64KB_StatisticalCorrector::SC_64KB_ThreadHistory::SC_64KB_ThreadHistory(), gem5::branch_prediction::TAGE_SC_L_8KB_StatisticalCorrector::SC_8KB_ThreadHistory::SC_8KB_ThreadHistory(), and SCThreadHistory().
|
private |
Definition at line 139 of file statistical_corrector.hh.
Referenced by getEntry(), getLocalHistory(), initLocalHistory(), setLocalHistory(), setNumOrdinalHistories(), and updateLocalHistory().
|
private |
Definition at line 141 of file statistical_corrector.hh.
Referenced by getLocalHistory(), initLocalHistory(), SCThreadHistory(), setLocalHistory(), setNumOrdinalHistories(), and updateLocalHistory().
| int64_t gem5::branch_prediction::StatisticalCorrector::SCThreadHistory::pHist |
Definition at line 89 of file statistical_corrector.hh.
Referenced by SCThreadHistory().
|
private |
Definition at line 140 of file statistical_corrector.hh.
Referenced by getEntry(), initLocalHistory(), and setNumOrdinalHistories().