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.
109 void clear(BlockFrequency Threshold) {
113 SumLinkWeights = Threshold;
151 bool update(const Node nodes[], BlockFrequency Threshold) {
171 if (SumN >= SumP + Threshold)
173 else if (SumP >= SumN + Threshold)
226 nodes[n].clear(Threshold);
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
255 Threshold = BlockFrequency(std::max(UINT64_C(1), Scaled));
326 if (!nodes[n].update(nodes, Threshold))