Virtuozzo Virtualization SDK C API Reference
|
Returns the CPU usage, in percents.
PRL_RESULT PrlStatCpu_GetCpuUsage( PRL_HANDLE hCpuStat, PRL_UINT32_PTR pnPercents );
PrlApiStat.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.