avoid using space on statistics

This commit is contained in:
Vítor Santos Costa
2015-04-21 16:11:00 -06:00
parent 660800af67
commit 742c299672
7 changed files with 252 additions and 252 deletions

View File

@@ -1647,9 +1647,9 @@
setregs();
#define SPY_PRED_SECONDIFOK_INIT \
LOCK(pe->StatisticsForPred.lock); \
pe->StatisticsForPred.NOfEntries++; \
UNLOCK(pe->StatisticsForPred.lock); \
LOCK(pe->StatisticsForPred->lock); \
pe->StatisticsForPred->NOfEntries++; \
UNLOCK(pe->StatisticsForPred->lock); \
LOCAL_ReductionsCounter--;
#define SPY_PRED_SECONDIFOK_FIRSTIFOK \
@@ -1675,9 +1675,9 @@
JMPNext();
#define SPY_PRED_THIRDIFOK_INIT \
LOCK(pe->StatisticsForPred.lock); \
pe->StatisticsForPred.NOfEntries++; \
UNLOCK(pe->StatisticsForPred.lock);
LOCK(pe->StatisticsForPred->lock); \
pe->StatisticsForPred->NOfEntries++; \
UNLOCK(pe->StatisticsForPred->lock);
#define SPY_PRED_THIRDIFOK_FIRSTIFOK \
(*_PREG) = pe->cs.p_code.TrueCodeOfPred; \