Gets the CPU usage of a system metric sample.
ADLX_RESULT CPUUsage (adlx_double* data)
[out]data adlx_double* The pointer to a variable where the CPU usage (in %) is returned.
If the CPU usage is successfully returned, ADLX_OK is returned.
If the CPU usage is not successfully returned, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.