cpu-boosting: Execute cpu boosting backend (governor) 27/297127/5
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 10 Aug 2023 03:09:00 +0000 (12:09 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Mon, 28 Aug 2023 01:49:13 +0000 (10:49 +0900)
commit97c504a9e60821cd7aef1233f68698e50e0342e1
tree0c2e6a58bbdc0fca0e0bdd6b71b4208509156c79
parent961b4d979492dfb64a3e0ed8ef5775bc8d71ffd5
cpu-boosting: Execute cpu boosting backend (governor)

Execute cpu boosting governor in plugin backend to govern cpu contention.
The prototype of governor function is like below:
  - 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);
    * This function receives cpu_boosting_info_table and cpu_boosting_level
      as inputs and gives cpu_boosting_controller_action as an output.
      If return value of this function is not 0,
      then cpu_boosting_controller_action is meaningless.

Change-Id: I6c8d805b63e258147932fb7ce8928001ef715ca8
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/resource-optimizer/cpu/cpu-boosting.c