|
Userspace Resource Manager
|
#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. | |
| 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/
| prop | Name of the Property to be fetched. |
| buffer | A buffer to hold the result, i.e. the property value corresponding to the specified name. |
| defValue | Value to return in case a property with the specified Name is not found in the Config Store |
| 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.
| request | A buffer holding the Request. |