Searched refs:originalHistoricalInfo (Results 1 – 3 of 3) sorted by relevance
47 const HistoricalInfo *const originalHistoricalInfo, const int newProbability, in createUpdatedHistoricalInfo() argument50 if (newProbability != NOT_A_PROBABILITY && originalHistoricalInfo->getLevel() == 0) { in createUpdatedHistoricalInfo()55 } else if (!originalHistoricalInfo->isValid() in createUpdatedHistoricalInfo()56 || originalHistoricalInfo->getLevel() < newHistoricalInfo->getLevel() in createUpdatedHistoricalInfo()57 || (originalHistoricalInfo->getLevel() == newHistoricalInfo->getLevel() in createUpdatedHistoricalInfo()58 && originalHistoricalInfo->getCount() < newHistoricalInfo->getCount())) { in createUpdatedHistoricalInfo()68 const int updatedCount = originalHistoricalInfo->getCount() + 1; in createUpdatedHistoricalInfo()71 if (originalHistoricalInfo->getLevel() >= MAX_LEVEL) { in createUpdatedHistoricalInfo()74 originalHistoricalInfo->getLevel(), originalHistoricalInfo->getCount()); in createUpdatedHistoricalInfo()78 originalHistoricalInfo->getLevel() + 1, 0 /* count */); in createUpdatedHistoricalInfo()[all …]
33 const HistoricalInfo *const originalHistoricalInfo, const int newProbability,37 const HistoricalInfo *const originalHistoricalInfo,
350 const HistoricalInfo *originalHistoricalInfo = probabilityEntry.getHistoricalInfo(); in updateAllProbabilityEntriesForGCInner() local352 *originalHistoricalInfo)) { in updateAllProbabilityEntriesForGCInner()360 const int updatedCount = originalHistoricalInfo->getCount() / 2; in updateAllProbabilityEntriesForGCInner()368 const HistoricalInfo historicalInfoToSave(originalHistoricalInfo->getTimestamp(), in updateAllProbabilityEntriesForGCInner()369 originalHistoricalInfo->getLevel(), updatedCount); in updateAllProbabilityEntriesForGCInner()