|
Userspace Resource Manager
|
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. | |
| 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. | |
| enum TranslationUnit | mUnit |
| Translation Unit for the Resource, for example KB, MB, MHz etc. | |
| ResourceLifecycleCallback | mResourceTearCallback |
| Optional Custom Resource Tear Callback, it needs to be supplied by the BU via the Extension Interface. | |
Representation of a single Resource Configuration.
This information is read from the Config files.
Note this (ResConfInfo) struct is separate from the Resource struct.
Definition at line 37 of file ResourceRegistry.h.