Home | History | Annotate | Download | only in chromium

Lines Matching refs:contention

38  *     contention and cache sloshing.
169 * MALLOC_BALANCE enables monitoring of arena lock contention and dynamically
170 * re-balances arena load if exponentially averaged contention exceeds a
581 * We use an exponential moving average to track recent lock contention,
591 * Threshold value for the exponential moving contention average at which to
704 /* Number of times this arena reassigned a thread due to contention. */
1001 * lock contention there is. This value is exponentially averaged.
1003 uint32_t contention;
3959 unsigned contention;
3961 contention = malloc_spin_lock(&arena->lock);
3964 * Calculate the exponentially averaged contention for this
3968 arena->contention = (((uint64_t)arena->contention
3970 + (uint64_t)contention) >> BALANCE_ALPHA_INV_2POW;
3971 if (arena->contention >= opt_balance_threshold)
3981 arena->contention = 0;
4815 arena->contention = 0;