diff options
-rw-r--r-- | utils.c | 5 | ||||
-rw-r--r-- | utils.h | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -192,6 +192,11 @@ int is_interactive_governor(char* governor) { return 0; } +int is_schedutil_governor(char* governor) { + if (strncmp(governor, SCHEDUTIL_GOVERNOR, (strlen(SCHEDUTIL_GOVERNOR) + 1)) == 0) return 1; + return 0; +} + #ifndef INTERACTION_BOOST void interaction(int UNUSED(duration), int UNUSED(num_args), int UNUSED(opt_list[])) { #else @@ -34,6 +34,7 @@ int sysfs_write(char* path, char* s); int get_scaling_governor(char governor[], int size); int get_scaling_governor_check_cores(char governor[], int size, int core_num); int is_interactive_governor(char*); +int is_schedutil_governor(char*); void perform_hint_action(int hint_id, int resource_values[], int num_resources); void undo_hint_action(int hint_id); |