RAM configuration of Test Agents
Overview
// global functions te_errno tapi_cfg_get_memory(const char* ta, int node_id, uint64_t* memory); te_errno tapi_cfg_get_free_memory(const char* ta, int node_id, uint64_t* avail_mem);
Detailed Documentation
Global Functions
te_errno tapi_cfg_get_memory(const char* ta, int node_id, uint64_t* memory)
Get amount of memory in bytes on a test agent.
Parameters:
ta |
test agent |
node_id |
node ID |
memory |
amount of system memory in bytes |
Returns:
status code
te_errno tapi_cfg_get_free_memory(const char* ta, int node_id, uint64_t* avail_mem)
Get amount of free memory in bytes on a test agent.
Parameters:
ta |
test agent |
node_id |
node ID |
avail_mem |
amount of available memory in bytes |
Returns:
status code