4#ifndef RESOURCE_TUNER_RESOURCE_H
5#define RESOURCE_TUNER_RESOURCE_H
11#include "MemoryPool.h"
55 int32_t getCoreValue()
const;
56 int32_t getClusterValue()
const;
57 int32_t getResInfo()
const;
58 int32_t getOptionalInfo()
const;
59 uint32_t getResCode()
const;
60 int32_t getValuesCount()
const;
61 int32_t getValueAt(int32_t index)
const;
63 void setCoreValue(int32_t core);
64 void setClusterValue(int32_t cluster);
65 void setResCode(uint32_t resCode);
66 void setResInfo(int32_t resInfo);
67 void setOptionalInfo(int32_t optionalInfo);
68 void setNumValues(int32_t numValues);
69 ErrCode setValueAt(int32_t index, int32_t value);
72typedef ExtIterable1<Resource*> ResIterable;
ErrCode
Custom Error Codes used by Resource Tuner APIs and Internal Functions.
Used to store information regarding Resources / Tunables which need to be Provisioned as part of the ...
int32_t mOptionalInfo
Field to hold optional information for Request Processing.
int32_t * valueArr
Dynamically Allocated Array, for >= 3 values.
union Resource::@1 mResValue
The value to be Configured for this Resource Node.
uint32_t mResCode
A uniqued 32-bit (unsigned) identifier for the Resource.
uint32_t mResInfo
Holds Logical Core and Cluster Information:
int32_t mNumValues
Number of values to be configured for the Resource, both single-valued and multi-valued Resources are...
int32_t values[2]
Use this field for storing upto 2 Values.