Virtuozzo Virtualization SDK C API Reference
|
Determines the number of handles of type PHT_SYSTEM_STATISTICS_CPU contained in the specified PHT_SYSTEM_STATISTICS object.
PRL_RESULT PrlStat_GetCpusStatsCount( PRL_HANDLE hStat, PRL_UINT32_PTR pnCount );
PrlApiStat.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
Each available CPU in the system will have its own PHT_SYSTEM_STATISTICS_CPU object instance.