Resource Tuner
Loading...
Searching...
No Matches
ResourceConfigInfo Struct Reference

Representation of a single Resource Configuration. More...

#include <ResourceRegistry.h>

Public Attributes

std::string mResourceName
 Name of the Resource (Placeholder).
 
std::string mResourcePath
 Path to the Sysfs node, CGroup controller file or as applicable.
 
uint8_t mResourceResType
 Type of the Resource, for example: LPM, CPU_DCVS, GPU etc.
 
uint16_t mResourceResID
 Unique Resource ID associated with the resource.
 
int32_t mHighThreshold
 Max Possible Value which can be configured for this Resource.
 
int32_t mLowThreshold
 Min Possible Value which can be configured for this Resource.
 
enum Permissions mPermissions
 The Permission Level needed by a client in order to tune this Resource.
 
uint8_t mModes
 Specify the mode (ex: Display on, display off, doze) under which the Resource can be provisioned.
 
int8_t mSupported
 boolean flag which is set if node is available for Tuning.
 
enum ResourceApplyType mApplyType
 Application Type Enum, indicating whether the specified value for the Resource by a Request, needs to be applied at a per-core, per-cluster or global value.
 
enum Policy mPolicy
 Policy by which the resource is governed, for example Higher is Better.
 
ResourceLifecycleCallback mResourceApplierCallback
 Optional Custom Resource Applier Callback, it needs to be supplied by the BU via the Extension Interface.
 
ResourceLifecycleCallback mResourceTearCallback
 Optional Custom Resource Tear Callback, it needs to be supplied by the BU via the Extension Interface.
 

Detailed Description

Representation of a single Resource Configuration.

This information is read from the Config files.
Note this (ResourceConfigInfo) struct is separate from the Resource struct.

Definition at line 38 of file ResourceRegistry.h.


The documentation for this struct was generated from the following file: