load 85 daemons/controld/controld_throttle.c throttle_cib_load(float *load) load 134 daemons/controld/controld_throttle.c if(load == NULL) { load 137 daemons/controld/controld_throttle.c *load = 0.0; load 188 daemons/controld/controld_throttle.c *load = (delta_utime + delta_stime); /* Cast to a float before division */ load 189 daemons/controld/controld_throttle.c *load /= ticks_per_s; load 190 daemons/controld/controld_throttle.c *load /= elapsed; load 191 daemons/controld/controld_throttle.c crm_debug("cib load: %f (%lu ticks in %lds)", *load, delta_utime + delta_stime, (long)elapsed); load 210 daemons/controld/controld_throttle.c throttle_load_avg(float *load) load 216 daemons/controld/controld_throttle.c if(load == NULL) { load 231 daemons/controld/controld_throttle.c *load = strtof(buffer, NULL); load 253 daemons/controld/controld_throttle.c throttle_check_thresholds(float load, const char *desc, load 256 daemons/controld/controld_throttle.c if (load > thresholds[3]) { load 257 daemons/controld/controld_throttle.c crm_notice("Extreme %s detected: %f", desc, load); load 260 daemons/controld/controld_throttle.c } else if (load > thresholds[2]) { load 261 daemons/controld/controld_throttle.c crm_notice("High %s detected: %f", desc, load); load 264 daemons/controld/controld_throttle.c } else if (load > thresholds[1]) { load 265 daemons/controld/controld_throttle.c crm_info("Moderate %s detected: %f", desc, load); load 268 daemons/controld/controld_throttle.c } else if (load > thresholds[0]) { load 269 daemons/controld/controld_throttle.c crm_debug("Noticeable %s detected: %f", desc, load); load 273 daemons/controld/controld_throttle.c crm_trace("Negligible %s detected: %f", desc, load); load 278 daemons/controld/controld_throttle.c throttle_handle_load(float load, const char *desc, int cores) load 294 daemons/controld/controld_throttle.c thresholds[3] = load + 1.0; /* never extreme */ load 296 daemons/controld/controld_throttle.c return throttle_check_thresholds(load, desc, thresholds); load 307 daemons/controld/controld_throttle.c float load; load 311 daemons/controld/controld_throttle.c if(throttle_cib_load(&load)) { load 338 daemons/controld/controld_throttle.c mode = throttle_check_thresholds(load, "CIB load", thresholds); load 346 daemons/controld/controld_throttle.c if(throttle_load_avg(&load)) { load 349 daemons/controld/controld_throttle.c cpu_load = throttle_handle_load(load, "CPU load", cores); load 353 daemons/controld/controld_throttle.c crm_debug("Current load is %f across %u core(s)", load, cores); load 646 maint/gnulib/lib/getloadavg.c double load; load 694 maint/gnulib/lib/getloadavg.c load = proc_sum_data.ps_nrunnable; load 698 maint/gnulib/lib/getloadavg.c load += proc_sum_data.ps_nrun[j]; load 704 maint/gnulib/lib/getloadavg.c loadavg[elem++] = load / samples / cpus;