Lines Matching refs:adaptive
1961 #define KMP_INC_STAT(lck, stat) (lck->lk.adaptive.stats.stat++)
1987 lck->lk.adaptive.badness = 0; in __kmp_update_badness_after_success()
1993 kmp_uint32 newBadness = (lck->lk.adaptive.badness << 1) | 1; in __kmp_step_badness()
1994 if (newBadness > lck->lk.adaptive.max_badness) { in __kmp_step_badness()
1997 lck->lk.adaptive.badness = newBadness; in __kmp_step_badness()
2005 kmp_uint32 badness = lck->lk.adaptive.badness; in __kmp_should_speculate()
2006 kmp_uint32 attempts = lck->lk.adaptive.acquire_attempts; in __kmp_should_speculate()
2016 int retries = lck->lk.adaptive.max_soft_retries; in __kmp_test_adaptive_lock_only()
2070 lck->lk.adaptive.acquire_attempts++; in __kmp_test_adaptive_lock()
2132 lck->lk.adaptive.acquire_attempts++; in __kmp_acquire_adaptive_lock()
2191 lck->lk.adaptive.badness = 0; in __kmp_init_adaptive_lock()
2192 lck->lk.adaptive.acquire_attempts = 0; // nonSpeculativeAcquireAttempts = 0; in __kmp_init_adaptive_lock()
2193 lck->lk.adaptive.max_soft_retries = in __kmp_init_adaptive_lock()
2195 lck->lk.adaptive.max_badness = __kmp_adaptive_backoff_params.max_badness; in __kmp_init_adaptive_lock()
2197 __kmp_zero_speculative_stats(&lck->lk.adaptive); in __kmp_init_adaptive_lock()
2204 __kmp_accumulate_speculative_stats(&lck->lk.adaptive); in __kmp_destroy_adaptive_lock()
3615 KMP_BIND_USER_LOCK_WITH_CHECKS(adaptive); in __kmp_set_user_lock_vptrs()
3617 KMP_BIND_USER_LOCK(adaptive); in __kmp_set_user_lock_vptrs()