Userspace Resource Manager
Loading...
Searching...
No Matches
RestuneInternal.h File Reference
#include "ErrCodes.h"
#include "Request.h"
#include "RequestQueue.h"
#include "ThreadPool.h"
#include "CocoTable.h"
#include "RateLimiter.h"
#include "RequestManager.h"
#include "ResourceRegistry.h"
#include "PropertiesRegistry.h"
#include "RestuneInternal.h"
#include "TargetRegistry.h"

Go to the source code of this file.

Functions

void submitResProvisionReqMsg (void *request)
 Submit a Resource Provisioning Request from a Client for processing.
 
size_t submitPropGetRequest (void *request, std::string &result)
 Gets a property from the Config Store.
 

Function Documentation

◆ submitPropGetRequest()

size_t submitPropGetRequest ( void *  request,
std::string &  result 
)

Gets a property from the Config Store.

Note: This API is meant to be used internally, i.e. by other Resource Tuner modules like Signals and not the End-Client Directly. Client Facing APIs are provided in Core/Client/APIs/

Parameters
propName of the Property to be fetched.
bufferA buffer to hold the result, i.e. the property value corresponding to the specified name.
defValueValue to return in case a property with the specified Name is not found in the Config Store
Returns
size_t: Number of bytes written to the result buffer.

◆ submitResProvisionReqMsg()

void submitResProvisionReqMsg ( void *  request)

Submit a Resource Provisioning Request from a Client for processing.

Note: This API acts an interface for other Resource Tuner components like Signals to submit a Resource Provisioning Request to the Resource Tuner Server, and subsequently provision the desired Resources.

Parameters
requestA buffer holding the Request.