gem5
v20.1.0.0
|
#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 69 of file statistical_corrector.hh.
|
inline |
Definition at line 70 of file statistical_corrector.hh.
References bwHist, imliCount, and numOrdinalHistories.
|
inlineprivate |
Definition at line 122 of file statistical_corrector.hh.
References localHistories, MipsISA::pc, and shifts.
Referenced by getLocalHistory(), and updateLocalHistory().
|
inline |
Definition at line 94 of file statistical_corrector.hh.
References getEntry(), localHistories, numOrdinalHistories, and MipsISA::pc.
|
inline |
Definition at line 86 of file statistical_corrector.hh.
References isPowerOf2(), localHistories, numOrdinalHistories, ArmISA::shift, and shifts.
|
inline |
Definition at line 78 of file statistical_corrector.hh.
References localHistories, numOrdinalHistories, and shifts.
|
inline |
Definition at line 101 of file statistical_corrector.hh.
References getEntry(), localHistories, and numOrdinalHistories.
Referenced by StatisticalCorrector::scHistoryUpdate().
int64_t StatisticalCorrector::SCThreadHistory::bwHist |
Definition at line 75 of file statistical_corrector.hh.
Referenced by StatisticalCorrector::scHistoryUpdate(), and SCThreadHistory().
int64_t StatisticalCorrector::SCThreadHistory::imliCount |
Definition at line 76 of file statistical_corrector.hh.
Referenced by TAGE_SC_L_64KB_StatisticalCorrector::gPredictions(), TAGE_SC_L_64KB_StatisticalCorrector::gUpdates(), StatisticalCorrector::scHistoryUpdate(), and SCThreadHistory().
|
private |
Definition at line 118 of file statistical_corrector.hh.
Referenced by getEntry(), getLocalHistory(), initLocalHistory(), setNumOrdinalHistories(), and updateLocalHistory().
|
private |
Definition at line 120 of file statistical_corrector.hh.
Referenced by getLocalHistory(), initLocalHistory(), SCThreadHistory(), setNumOrdinalHistories(), and updateLocalHistory().
|
private |
Definition at line 119 of file statistical_corrector.hh.
Referenced by getEntry(), initLocalHistory(), and setNumOrdinalHistories().