Lines Matching refs:deltas
187 Vector<nsecs_t> deltas; in prime() local
195 deltas.push(time - lastTime); in prime()
202 deltas.sort(compare<nsecs_t>); in prime()
203 size_t numDeltas = deltas.size(); in prime()
205 nsecs_t deltaMinLimit = max(deltas[0] / kMultiplesThresholdDiv, kMinPeriod); in prime()
206 nsecs_t deltaMaxLimit = deltas[numDeltas / 2] * kMultiplesThresholdDiv; in prime()
208 if (deltas[i] > deltaMaxLimit) { in prime()
209 deltas.resize(i); in prime()
215 nsecs_t delta2nd = deltas[i] - deltas[i - 1]; in prime()
218 deltas.push(delta2nd); in prime()
225 for (size_t i = 0; i < deltas.size(); ++i) { in prime()
226 nsecs_t delta = deltas[i]; in prime()
231 for (size_t j = 0; j < deltas.size(); ++j) { in prime()
232 nsecs_t err = periodicError(deltas[j], delta); in prime()