thresholds 247 crmd/throttle.c throttle_check_thresholds(float load, const char *desc, float thresholds[4]) thresholds 249 crmd/throttle.c if (load > thresholds[3]) { thresholds 253 crmd/throttle.c } else if (load > thresholds[2]) { thresholds 257 crmd/throttle.c } else if (load > thresholds[1]) { thresholds 261 crmd/throttle.c } else if (load > thresholds[0]) { thresholds 274 crmd/throttle.c float thresholds[4]; thresholds 284 crmd/throttle.c thresholds[0] = throttle_load_target * normalize * THROTTLE_FACTOR_LOW; thresholds 285 crmd/throttle.c thresholds[1] = throttle_load_target * normalize * THROTTLE_FACTOR_MEDIUM; thresholds 286 crmd/throttle.c thresholds[2] = throttle_load_target * normalize * THROTTLE_FACTOR_HIGH; thresholds 287 crmd/throttle.c thresholds[3] = load + 1.0; /* never extreme */ thresholds 289 crmd/throttle.c return throttle_check_thresholds(load, desc, thresholds); thresholds 297 crmd/throttle.c float thresholds[4]; thresholds 326 crmd/throttle.c thresholds[0] = cib_max_cpu * 0.8; thresholds 327 crmd/throttle.c thresholds[1] = cib_max_cpu * 0.9; thresholds 328 crmd/throttle.c thresholds[2] = cib_max_cpu; thresholds 330 crmd/throttle.c thresholds[3] = cib_max_cpu * 1.5; thresholds 332 crmd/throttle.c mode |= throttle_check_thresholds(load, "CIB load", thresholds);