38a39
> #include <limits.h>
45c46,53
< class strideEntry
---
> static const int Max_Contexts = 64;
>
> // These constants need to be changed with the type of the
> // 'confidence' field below.
> static const int Max_Conf = INT_MAX;
> static const int Min_Conf = INT_MIN;
>
> class StrideEntry
48,49c56,57
< Addr IAddr;
< Addr MAddr;
---
> Addr instAddr;
> Addr missAddr;
51,59c59
< int64_t confidence;
<
< /* bool operator < (strideEntry a,strideEntry b)
< {
< if (a.confidence == b.confidence) {
< return true; //??????
< }
< else return a.confidence < b.confidence;
< }*/
---
> int confidence;
61d60
< Addr* lastMissAddr[64/*MAX_CPUS*/];
63c62,64
< std::list<strideEntry*> table[64/*MAX_CPUS*/];
---
> Addr *lastMissAddr[Max_Contexts];
>
> std::list<StrideEntry*> table[Max_Contexts];
68d68
<