class RoleManager

Defined at line 1031 of file fidling/gen/sdk/fidl/fuchsia.scheduler/fuchsia.scheduler/hlcpp/fuchsia/scheduler/cpp/fidl.h

Allows callers to modify the runtime profiles of zircon objects.

Public Members

static const char[] Name_

Public Methods

void ~RoleManager ()
void SetRole (::fuchsia::scheduler::RoleManagerSetRoleRequest RoleManagerSetRoleRequest, SetRoleCallback callback)

Sets the given object's performance parameters based on the requested

role. The exact parameters of the role are system dependent and may

vary based on device-specific tuning and/or runtime system goals.

+ request `target` is a handle to a zircon object to which a profile

can be applied.

+ request `role` is the name of the role to apply to the target.

+ request `input_parameters` is a vector of key/value pairs used to

distinguish between multiple variants of the same role.

- response `output_parameters` is a vector of key/value pairs that

roles can be configured to emit.

* error a zx_status value indicating success or failure.

Protected Methods

void handle_unknown_method (uint64_t ordinal, bool method_has_response)

Friends

class RoleManager_Stub