Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.6.0.3
|
Data Structures | |
struct | OPEN_CPU_PERIOD_UTIL_INFO_t |
Macros | |
#define | OPEN_CPU_UTIL_SCALAR 10000 |
Functions | |
open_error_t | openapiCpuUtilMaxPeriodsGet (openapiClientHandle_t *client_handle, uint32_t *max) |
Get the maximum number of periods tracked for CPU utilization. More... | |
open_error_t | openapiTotalCpuUtilArrayGet (openapiClientHandle_t *client_handle, open_buffdesc *data) |
Get CPU utilization for all tracked periods. More... | |
open_error_t openapiCpuUtilMaxPeriodsGet | ( | openapiClientHandle_t * | client_handle, |
uint32_t * | max | ||
) |
Get the maximum number of periods tracked for CPU utilization.
[in] | client_handle | Client handle from registration API |
[out] | max | Maximum number of tracked CPU utilization periods. |
OPEN_E_NONE | operation was successful. |
OPEN_E_PARAM | an invalid parameter was passed. |
OpEN API Version: 1.18
open_error_t openapiTotalCpuUtilArrayGet | ( | openapiClientHandle_t * | client_handle, |
open_buffdesc * | data | ||
) |
Get CPU utilization for all tracked periods.
[in] | client_handle | Client handle from registration API |
[out] | data | CPU Utilization data. |
OPEN_E_NONE | operation was successful. |
OPEN_E_FAIL | a failure occurred. |
OPEN_E_PARAM | an invalid parameter was passed. |
OpEN API Version: 1.18