class SetCurrentOperatingPoint

Defined at line 75 of file fidling/gen/sdk/fidl/fuchsia.hardware.cpu.ctrl/fuchsia.hardware.cpu.ctrl/cpp/fidl/fuchsia.hardware.cpu.ctrl/cpp/markers.h

Set the operating point of this device to the requested operating point.

Operating points are in numeric P-state order, such that the maximum

operating performance point is 0 and the minimum is n-1, where n is the

number of operating points returned by GetOperatingPointCount().

The requested operating point may be clamped to the range [min, max]

when operating point limits are supported. See SetOperatingPointLimits

for details.

Returns ZX_OK, if the device is in a working state and the operating

point is changed to requested_opp successfully. out_opp will be same as

requested_opp.

Returns ZX_ERR_OUT_OF_RANGE if the minimum_opp is outside of the range

[n-1, 0], where n is the number of operating points returned by

GetOperatingPointCount().

Returns error status, if switching to the requested_opp was

unsuccessful. out_opp is the operating performance point (OPP) that the

device is currently in.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal