Home | History | Annotate | Download | only in Support

Lines Matching refs:Frequency

10 // This file implements Block Frequency class.
22 Frequency = Prob.scale(Frequency);
28 BlockFrequency Freq(Frequency);
34 Frequency = Prob.scaleByInverse(Frequency);
39 BlockFrequency Freq(Frequency);
45 uint64_t Before = Freq.Frequency;
46 Frequency += Freq.Frequency;
48 // If overflow, set frequency to the maximum value.
49 if (Frequency < Before)
50 Frequency = UINT64_MAX;
57 BlockFrequency Freq(Frequency);
63 // Frequency can never be 0 by design.
64 assert(Frequency != 0);
67 Frequency >>= count;
70 Frequency |= Frequency == 0;