cuda.bindings.nvml.device_get_total_energy_consumption#

cuda.bindings.nvml.device_get_total_energy_consumption(
intptr_t device,
) unsigned long long#

Retrieves total energy consumption for this GPU in millijoules (mJ) since the driver was last reloaded.

Parameters:

device (intptr_t) – The identifier of the target device.

Returns:

Reference in which to return the energy consumption information.

Return type:

unsigned long long

See also

nvmlDeviceGetTotalEnergyConsumption