1 /* 2 * Copyright 2013-2021 the Pacemaker project contributors 3 * 4 * The version control history for this file may have further details. 5 * 6 * This source code is licensed under the GNU Lesser General Public License 7 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY. 8 */ 9 10 void throttle_init(void); 11 void throttle_fini(void); 12 13 void throttle_set_load_target(float target); 14 void throttle_update(xmlNode *xml); 15 void throttle_update_job_max(const char *preference); 16 int throttle_get_job_limit(const char *node); 17 int throttle_get_total_job_limit(int l);