NVML API Reference Guide (PDF) - vR590 (older) - Last updated December 04, 2025 - Send Feedback

5.31. Power Profile Information

Classes

struct 
struct 
struct 
struct 
struct 

Defines

#define nvmlWorkloadPowerProfileInfo_v1
Version macro for nvmlWorkloadPowerProfileInfo_v1_t.
#define nvmlWorkloadPowerProfileProfilesInfo_v1
Version macro for nvmlWorkloadPowerProfileProfilesInfo_v1_t.
#define nvmlWorkloadPowerProfileRequestedProfiles_v1
Version macro for nvmlWorkloadPowerProfileRequestedProfiles_v1_t.

Enumerations

enum nvmlPowerProfileOperation_t

Functions

nvmlReturn_t nvmlDeviceWorkloadPowerProfileClearRequestedProfiles ( nvmlDevice_t device, nvmlWorkloadPowerProfileRequestedProfiles_t* requestedProfiles )
nvmlReturn_t nvmlDeviceWorkloadPowerProfileGetCurrentProfiles ( nvmlDevice_t device, nvmlWorkloadPowerProfileCurrentProfiles_t* currentProfiles )
nvmlReturn_t nvmlDeviceWorkloadPowerProfileGetProfilesInfo ( nvmlDevice_t device, nvmlWorkloadPowerProfileProfilesInfo_t* profilesInfo )
nvmlReturn_t nvmlDeviceWorkloadPowerProfileSetRequestedProfiles ( nvmlDevice_t device, nvmlWorkloadPowerProfileRequestedProfiles_t* requestedProfiles )
nvmlReturn_t nvmlDeviceWorkloadPowerProfileUpdateProfiles_v1 ( nvmlDevice_t device, nvmlWorkloadPowerProfileUpdateProfiles_v1_t* updateProfiles )

Defines

#define nvmlWorkloadPowerProfileInfo_v1

Value

NVML_STRUCT_VERSION(WorkloadPowerProfileInfo, 1)

#define nvmlWorkloadPowerProfileProfilesInfo_v1

Value

NVML_STRUCT_VERSION(WorkloadPowerProfileProfilesInfo, 1)

#define nvmlWorkloadPowerProfileRequestedProfiles_v1

Value

NVML_STRUCT_VERSION(WorkloadPowerProfileRequestedProfiles, 1)

Enumerations

enum nvmlPowerProfileOperation_t

Enum for operation to perform on the requested profiles

Values
NVML_POWER_PROFILE_OPERATION_CLEAR = 0
Remove the requested profiles from the existing list of requested profiles.
NVML_POWER_PROFILE_OPERATION_SET = 1
Add the requested profiles to the existing list of requested profiles.
NVML_POWER_PROFILE_OPERATION_SET_AND_OVERWRITE = 2
Overwrite the existing list of requested profiles with just the requested profiles.
NVML_POWER_PROFILE_OPERATION_MAX = 3
Max value above +1.

Functions

nvmlReturn_t nvmlDeviceWorkloadPowerProfileClearRequestedProfiles ( nvmlDevice_t device, nvmlWorkloadPowerProfileRequestedProfiles_t* requestedProfiles )
Parameters
device
The identifier of the target device
requestedProfiles
Reference to struct nvmlWorkloadPowerProfileRequestedProfiles_v1_t
Returns

Deprecated

Use nvmlDeviceWorkloadPowerProfileUpdateProfiles_v1 instead Clear Requested Performance Profiles

Description

For Blackwell or newer fully supported devices. See nvmlWorkloadPowerProfileRequestedProfiles_v1_t for more information on the struct. Clear one or more performance profiles be using the input bitmask requestedProfilesMask, where each bit set corresponds to a supported bit from the perfProfilesMask. These profiles will be removed from the existing list of currently requested profiles. Requires root/admin permissions.

nvmlReturn_t nvmlDeviceWorkloadPowerProfileGetCurrentProfiles ( nvmlDevice_t device, nvmlWorkloadPowerProfileCurrentProfiles_t* currentProfiles )
Parameters
device
The identifier of the target device
currentProfiles
Reference to struct nvmlWorkloadPowerProfileCurrentProfiles_v1_t
Returns

Description

Get Current Performance Profiles

For Blackwell or newer fully supported devices. See nvmlWorkloadPowerProfileCurrentProfiles_v1_t for more information on the struct. This API returns a stuct which contains the current perfProfilesMask, requestedProfilesMask and enforcedProfilesMask. Each bit set in each bitmasks indicates the profile is supported, currently requested or currently engaged, respectively.

nvmlReturn_t nvmlDeviceWorkloadPowerProfileGetProfilesInfo ( nvmlDevice_t device, nvmlWorkloadPowerProfileProfilesInfo_t* profilesInfo )
Parameters
device
The identifier of the target device
profilesInfo
Reference to struct nvmlWorkloadPowerProfileProfilesInfo_t
Returns

Description

Get Performance Profiles Information

For Blackwell or newer fully supported devices. See nvmlWorkloadPowerProfileProfilesInfo_v1_t for more information on the struct. The mask perfProfilesMask is bitmask of all supported mode indices where the mode is supported if the index is 1. Each supported mode will have a corresponding entry in the perfProfile array which will contain the profileId, the priority of this mode, where the lower the value, the higher the priority, and a conflictingMask, where each bit set in the mask corresponds to a different profile which cannot be used in conjunction with the given profile.

nvmlReturn_t nvmlDeviceWorkloadPowerProfileSetRequestedProfiles ( nvmlDevice_t device, nvmlWorkloadPowerProfileRequestedProfiles_t* requestedProfiles )
Parameters
device
The identifier of the target device
requestedProfiles
Reference to struct nvmlWorkloadPowerProfileRequestedProfiles_v1_t
Returns

Deprecated

Use nvmlDeviceWorkloadPowerProfileUpdateProfiles_v1 instead Set Requested Performance Profiles

Description

For Blackwell or newer fully supported devices. See nvmlWorkloadPowerProfileRequestedProfiles_v1_t for more information on the struct. Reuqest one or more performance profiles be activated using the input bitmask requestedProfilesMask, where each bit set corresponds to a supported bit from the perfProfilesMask. These profiles will be added to existing list of currently requested profiles. Requires root/admin permissions.

nvmlReturn_t nvmlDeviceWorkloadPowerProfileUpdateProfiles_v1 ( nvmlDevice_t device, nvmlWorkloadPowerProfileUpdateProfiles_v1_t* updateProfiles )
Parameters
device
The identifier of the target device
updateProfiles
Reference to struct nvmlWorkloadPowerProfileUpdateProfiles_v1_t
Returns

Description

Update Requested Performance Profiles

For Blackwell or newer fully supported devices. See nvmlWorkloadPowerProfileUpdateProfiles_v1_t for more information on the struct. Update the requested performance profiles using the input bitmask updateProfilesMask, where each bit set corresponds to a supported bit from the perfProfilesMask. The operation parameter specifies the operation to perform, see nvmlPowerProfileOperation_t for more information. Requires root/admin permissions.


NVML API Reference Guide (PDF) - vR590 (older) - Last updated December 04, 2025 - Send Feedback