vrdGpuStateInfo

class vrdGpuStateInfo

(Inherits vrdObject)

This class is part of vrGPUService.

Provides access to information about the current GPU state.

Functions

vrdGpuStateInfo.getFreeMemory()

Returns the free memory available on the GPU in megabytes.

Returns:The free memory available on the GPU in megabytes
Return type:float
vrdGpuStateInfo.getGpuUsage()

Returns the current usage of the gpu in percent.

Returns:The gpu usage in percentage
Return type:integer
vrdGpuStateInfo.getMemoryUsage()

Returns the current memory bandwidth usage of the gpu in percent.

Returns:The memory bandwidth usage in percentage
Return type:integer
vrdGpuStateInfo.getTemperature()

Returns the current gpu temperature in degree celcius.

Returns:The current gpu temperature in degree celcius
Return type:integer
vrdGpuStateInfo.getTotalMemory()

Returns the total memory available on the GPU in megabytes.

Returns:The total memory available on the GPU in megabytes
Return type:float
vrdGpuStateInfo.getUsedMemory()

Returns the used memory on the GPU in megabytes.

Returns:The used memory on the GPU in megabytes
Return type:float