Home
last modified time | relevance | path

Searched refs:contention_counter (Results 1 – 1 of 1) sorted by relevance

/third_party/glib/glib/
Dgslice.c533 guint *contention_counter) in g_mutex_lock_a() argument
547 *contention_counter = MIN (*contention_counter + 1, MAX_MAGAZINE_SIZE); in g_mutex_lock_a()
556 *contention_counter = MAX (*contention_counter, 1) - 1; in g_mutex_lock_a()
639 guint contention_counter = allocator->contention_counters[ix]; in allocator_get_magazine_threshold() local
640 if (G_UNLIKELY (contention_counter)) /* single CPU bias */ in allocator_get_magazine_threshold()
643 contention_counter = contention_counter * 64 / chunk_size; in allocator_get_magazine_threshold()
644 threshold = MAX (threshold, contention_counter); in allocator_get_magazine_threshold()