Lines Matching defs:delta
35 * counter (called the delta), and the amount of increment and decrement we have
42 * they simply modify the delta and return. If the bucket does not, we clear
47 * subtracted). Clearing the bucket is the opposite; we add the current delta
69 * lock (preventing threads on those CPUs from modifying their delta), and
166 aggsum_borrow(aggsum_t *as, int64_t delta, struct aggsum_bucket *asb)
168 int64_t abs_delta = (delta < 0 ? -delta : delta);
183 aggsum_add(aggsum_t *as, int64_t delta)
190 if (asb->asc_delta + delta <= (int64_t)asb->asc_borrowed &&
191 asb->asc_delta + delta >= -(int64_t)asb->asc_borrowed) {
192 asb->asc_delta += delta;
197 aggsum_borrow(as, delta * aggsum_borrow_multiplier, asb);