Searched refs:localHistories (Results 1 - 3 of 3) sorted by relevance

/gem5/src/cpu/pred/
H A Dstatistical_corrector.hh83 localHistories = new std::vector<int64_t> [num];
91 localHistories[ordinal - 1].resize(numHistories, 0);
98 return localHistories[idx][getEntry(pc, idx)];
108 int64_t hist = (localHistories[idx][entry] << 1) + taken;
114 localHistories[idx][entry] = hist;
118 std::vector<int64_t> * localHistories; member in struct:StatisticalCorrector::SCThreadHistory
124 return (pc ^ (pc >> shifts[idx])) & (localHistories[idx].size()-1);
H A Dmultiperspective_perceptron.hh172 std::vector<unsigned int> localHistories; member in class:MultiperspectivePerceptron::LocalHistories
178 return (pc >> 2) % localHistories.size();
182 localHistories(nlocal_histories), localHistoryLength(histo_len) {}
187 return localHistories[index(pc)];
193 assert(localHistories.size() > 0);
194 unsigned int &pos = localHistories[index(pc)];
209 return localHistoryLength * localHistories.size();
319 LocalHistories localHistories; member in struct:MultiperspectivePerceptron::ThreadData
745 unsigned int x = mpp.threadData[tid]->localHistories[pc];
H A Dmultiperspective_perceptron.cc67 localHistories(n_local_histories, local_history_length),
313 int lhist = threadData[tid]->localHistories[bi.getPC()];
314 int history_len = threadData[tid]->localHistories.getLocalHistoryLength();
800 threadData[tid]->localHistories.update(bi->getPC(), hashed_taken);

Completed in 13 milliseconds