Lines Matching full:threshold
90 /// SumLinkWeights - Cached sum of the weights of all links + ThresHold.
103 // true when the RHS saturates. Note that SumLinkWeights includes Threshold. in mustSpill()
109 void clear(BlockFrequency Threshold) { in clear()
113 SumLinkWeights = Threshold; in clear()
151 bool update(const Node nodes[], BlockFrequency Threshold) { in update()
171 if (SumN >= SumP + Threshold) in update()
173 else if (SumP >= SumN + Threshold) in update()
226 nodes[n].clear(Threshold); in activate()
245 /// Set the threshold for a given entry frequency.
247 /// Set the threshold relative to \c Entry. Since the threshold is used as a
248 /// bound on the open interval (-Threshold;Threshold), 1 is the minimum
249 /// threshold.
251 // Apparently 2 is a good threshold when Entry==2^14, but we need to scale in setThreshold()
255 Threshold = BlockFrequency(std::max(UINT64_C(1), Scaled)); in setThreshold()
326 if (!nodes[n].update(nodes, Threshold)) in update()