Skip to content

GPUUsage

Navigation: ADLX SDK ReferencesADLX InterfacesPerformance MonitoringIADLXGPUMetrics

Syntax

ADLX_RESULT    GPUUsage (adlx_double* data)

Parameters

#DirectionNameTypeDescription
1.[out]dataadlx_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

Headerinclude “IPerformanceMonitoring.h”
Minimum version1.0

See Also: ADLX Enums