mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
governor: add daemon API and helpers to set CPU governor
This commit is contained in:
@ -99,5 +99,14 @@ gboolean sysprof_helpers_perf_event_open (SysprofHelpers
|
||||
gint *out_fd,
|
||||
GError **error);
|
||||
#endif
|
||||
void sysprof_helpers_set_governor_async (SysprofHelpers *self,
|
||||
const gchar *governor,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
gboolean sysprof_helpers_set_governor_finish (SysprofHelpers *self,
|
||||
GAsyncResult *result,
|
||||
gchar **old_governor,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user