int (*cpu_boosting_governor_govern_request) (
GHashTable *cpu_boosting_info_table,
cpu_boosting_level_e cpu_boosting_level,
- GSList **cpu_boosting_controller_action);
+ GSList **cpu_boosting_controller_action, bool *is_cpu_busy);
bool (*is_cpu_contention_alleviated)
(guint timer_id, guint latest_timer_id);
} syscommon_plugin_backend_resourced_cpu_boosting_funcs;
* CPU_BOOSTING_LEVEL_MEDIUM, and CPU_BOOSTING_LEVEL_WEAK
* @param[out] cpu_boosting_controller_action is a GSList containing actions
* to be taken by cpu boosting controller
+ * @param[out] is_cpu_busy is a bool info whehter system cpu is busy or not
* @return @c zero on success,
* otherwise a negative error value
*/
int syscommon_plugin_resourced_cpu_boosting_governor_govern_request(
GHashTable *cpu_boosting_info_table,
cpu_boosting_level_e cpu_boosting_level,
- GSList **cpu_boosting_controller_action);
+ GSList **cpu_boosting_controller_action, bool *is_cpu_busy);
/**
* @brief Check whehter cpu contention is alleviated
int syscommon_plugin_resourced_cpu_boosting_governor_govern_request(
GHashTable *cpu_boosting_info_table,
cpu_boosting_level_e cpu_boosting_level,
- GSList **cpu_boosting_controller_action)
+ GSList **cpu_boosting_controller_action, bool *is_cpu_busy)
{
int ret = 0;
}
return funcs->cpu_boosting_governor_govern_request(cpu_boosting_info_table,
- cpu_boosting_level, cpu_boosting_controller_action);
+ cpu_boosting_level, cpu_boosting_controller_action,
+ is_cpu_busy);
}
EXPORT