Lines Matching refs:check_threshold
379 result->scatter_check_threshold = scatter_result.check_threshold; in UpdateCanStart()
874 result->check_threshold = 0; in UpdateScattering()
916 int check_threshold = update_state.scatter_check_threshold; in UpdateScattering() local
917 if (check_threshold == 0) { in UpdateScattering()
918 check_threshold = prng.RandMinMax( in UpdateScattering()
928 if (check_threshold > update_state.scatter_check_threshold_max) in UpdateScattering()
929 check_threshold = 0; in UpdateScattering()
932 if (check_threshold > 0 && update_state.num_checks >= check_threshold) in UpdateScattering()
933 check_threshold = 0; in UpdateScattering()
935 bool is_scattering = (wait_period != kZeroInterval || check_threshold); in UpdateScattering()
938 check_threshold == update_state.scatter_check_threshold) in UpdateScattering()
942 result->check_threshold = check_threshold; in UpdateScattering()