support long long for profiling counters. Requires better support for LL
in Yap code (only for __GNUC__ right now). git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@802 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -2263,9 +2263,9 @@ p_profile_info(void)
|
||||
UNLOCK(pe->StatisticsForPred.lock);
|
||||
return(FALSE);
|
||||
}
|
||||
p[0] = MkIntegerTerm(pe->StatisticsForPred.NOfEntries);
|
||||
p[1] = MkIntegerTerm(pe->StatisticsForPred.NOfHeadSuccesses);
|
||||
p[2] = MkIntegerTerm(pe->StatisticsForPred.NOfRetries);
|
||||
p[0] = Yap_MkULLIntTerm(pe->StatisticsForPred.NOfEntries);
|
||||
p[1] = Yap_MkULLIntTerm(pe->StatisticsForPred.NOfHeadSuccesses);
|
||||
p[2] = Yap_MkULLIntTerm(pe->StatisticsForPred.NOfRetries);
|
||||
UNLOCK(pe->StatisticsForPred.lock);
|
||||
out = Yap_MkApplTerm(Yap_MkFunctor(AtomProfile,3),3,p);
|
||||
return(Yap_unify(ARG3,out));
|
||||
|
Reference in New Issue
Block a user