gem5 v24.1.0.1
|
#include <statistical_corrector.hh>
Public Member Functions | |
SCThreadHistory () | |
void | setNumOrdinalHistories (unsigned num) |
void | initLocalHistory (int ordinal, int numHistories, int shift) |
int64_t | getLocalHistory (int ordinal, Addr pc) |
void | updateLocalHistory (int ordinal, Addr branch_pc, bool taken, Addr extraXor=0) |
Public Attributes | |
int64_t | bwHist |
int64_t | imliCount |
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 75 of file statistical_corrector.hh.
|
inline |
Definition at line 77 of file statistical_corrector.hh.
References bwHist, imliCount, and numOrdinalHistories.
|
inlineprivate |
Definition at line 129 of file statistical_corrector.hh.
References localHistories, gem5::MipsISA::pc, and shifts.
Referenced by getLocalHistory(), and updateLocalHistory().
|
inline |
Definition at line 101 of file statistical_corrector.hh.
References getEntry(), localHistories, numOrdinalHistories, and gem5::MipsISA::pc.
|
inline |
Definition at line 93 of file statistical_corrector.hh.
References gem5::isPowerOf2(), localHistories, numOrdinalHistories, gem5::ArmISA::shift, and shifts.
|
inline |
Definition at line 85 of file statistical_corrector.hh.
References localHistories, numOrdinalHistories, and shifts.
|
inline |
Definition at line 108 of file statistical_corrector.hh.
References getEntry(), localHistories, and numOrdinalHistories.
Referenced by gem5::branch_prediction::StatisticalCorrector::scHistoryUpdate().
int64_t gem5::branch_prediction::StatisticalCorrector::SCThreadHistory::bwHist |
Definition at line 82 of file statistical_corrector.hh.
Referenced by gem5::branch_prediction::StatisticalCorrector::scHistoryUpdate(), and SCThreadHistory().
int64_t gem5::branch_prediction::StatisticalCorrector::SCThreadHistory::imliCount |
Definition at line 83 of file statistical_corrector.hh.
Referenced by gem5::branch_prediction::TAGE_SC_L_64KB_StatisticalCorrector::gPredictions(), gem5::branch_prediction::TAGE_SC_L_64KB_StatisticalCorrector::gUpdates(), gem5::branch_prediction::StatisticalCorrector::scHistoryUpdate(), gem5::branch_prediction::TAGE_SC_L_64KB_StatisticalCorrector::scHistoryUpdate(), and SCThreadHistory().
|
private |
Definition at line 125 of file statistical_corrector.hh.
Referenced by getEntry(), getLocalHistory(), initLocalHistory(), setNumOrdinalHistories(), and updateLocalHistory().
|
private |
Definition at line 127 of file statistical_corrector.hh.
Referenced by getLocalHistory(), initLocalHistory(), SCThreadHistory(), setNumOrdinalHistories(), and updateLocalHistory().
|
private |
Definition at line 126 of file statistical_corrector.hh.
Referenced by getEntry(), initLocalHistory(), and setNumOrdinalHistories().