1 #ifndef _ADDPREFETCHENHANCE_H_
2 #define _ADDPREFETCHENHANCE_H_
4 typedef struct prefetchCountStats {
5 int retrycount; /* keeps track of when to retry and check if we can turn on this prefetch site */
6 int uselesscount; /* keeps track of how long was the prefetching at site useles */
7 char operMode; /* 1 = on , 0 = off */
11 pfcstats_t *initPrefetchStats();
12 int getRetryCount(int siteid);
13 int getUselessCount(int siteid);
14 char getOperationMode(int);
15 void handleDynPrefetching(int, int, int);