GPUUsage
Gets the GPU usage of a GPU metric sample.
Syntax
ADLX_RESULT GPUUsage (adlx_double* data)
Parameters
-
[out]
data adlx_double* The pointer to a variable where the CPU usage (in %) is returned.
Return Value
If the GPU usage is successfully returned, ADLX_OK is returned.
If the GPU usage is not successfully returned, an error code is returned.
Refer to ADLX_RESULT for success codes and error codes.
Requirements
Header |
include “IPerformanceMonitoring.h” |
Minimum version |
1.0 |