On Sat, 25 Feb 2012, Mahmood Naderan wrote:

Hi,
In stride.hh it is stated that

static const int Max_Contexts = 64;
std::list<StrideEntry*> table[Max_Contexts];

http://repo.gem5.org/gem5/file/241ee47b0dc6/src/mem/cache/prefetch/stride.hh#l48

later in stride.cc, it is stated

if (tab.size() >= 256) { //set default table size is 256

http://repo.gem5.org/gem5/file/241ee47b0dc6/src/mem/cache/prefetch/stride.cc#l106

Seems that the limit was hardcoded but later changed in another function

Do you agree with that?
--
// Naderan *Mahmood;


Read the code in stride.cc again.

--
Nilay
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to