#include <stdint.h>
#include <stddef.h>
Go to the source code of this file.
typedef uint8_t NVPA_Bool |
The type used for boolean values.
typedef uint32_t NVPA_MetricId |
The type used for metric IDs.
typedef intptr_t NVPA_RangeId |
The type used for range IDs.
typedef int32_t NVPA_StackId |
The type used for stack IDs.
enum NVPA_ActivityKind |
The configuration's activity-kind dictates which types of data may be collected.
Error codes explaining which condition passed to NVPA_D3D12_Queue_HandleProfilerEvents has been reached.
Error codes explaining why a metric failed to Enable.
Error codes explaining why a metric value was not returned.
Since many metrics are implemented in terms of other metrics, only the most severe error is reported for a given metric. The errors below are listed in increasing order of severity.
enum NVPA_Status |
Error codes.
NVPA_STATUS_SUCCESS | Success |
NVPA_STATUS_ERROR | Generic error. |
NVPA_STATUS_INTERNAL_ERROR | Internal error. Please file a bug! |
NVPA_STATUS_NOT_INITIALIZED | NVPA_Init() has not been called yet. |
NVPA_STATUS_NOT_LOADED | The NvPerfAPI DLL/DSO could not be loaded during init. |
NVPA_STATUS_FUNCTION_NOT_FOUND | The function was not found in this version of the NvPerfAPI DLL/DSO. |
NVPA_STATUS_NOT_SUPPORTED | The request is intentionally not supported by NvPerfAPI. |
NVPA_STATUS_NOT_IMPLEMENTED | The request is not implemented by this version of NvPerfAPI. |
NVPA_STATUS_INVALID_ARGUMENT | Invalid argument. |
NVPA_STATUS_INVALID_METRIC_ID | A MetricId argument does not belong to the specified NVPA_Activity or NVPA_Config. |
NVPA_STATUS_DRIVER_NOT_LOADED | No driver has been loaded via NVPA_*_LoadDriver(). |
NVPA_STATUS_OUT_OF_MEMORY | Failed memory allocation. |
NVPA_STATUS_INVALID_THREAD_STATE | The request could not be fulfilled due to the state of the current thread. |
NVPA_STATUS_FAILED_CONTEXT_ALLOC | Allocation of context object failed. |
NVPA_STATUS_UNSUPPORTED_GPU | The specified GPU is not supported. |
NVPA_STATUS_INSUFFICIENT_DRIVER_VERSION | The installed NVIDIA driver is too old. |
NVPA_STATUS_OBJECT_NOT_REGISTERED | Graphics object has not been registered via NVPA_Register*(). |
NVPA_STATUS_INSUFFICIENT_PRIVILEGE | The operation failed due to a security check. |
NVPA_STATUS_INVALID_CONTEXT_STATE | The request could not be fulfilled due to the state of the context. |
NVPA_STATUS_INVALID_OBJECT_STATE | The request could not be fulfilled due to the state of the object. |
NVPA_STATUS_RESOURCE_UNAVAILABLE | The request could not be fulfilled because a system resource is already in use. |
NVPA_STATUS_DRIVER_LOADED_TOO_LATE | The NVPA_*_LoadDriver() is called after the context, command queue or device is created. |
NVPA_STATUS_INSUFFICIENT_SPACE | The provided buffer is not large enough. |
NVPA_STATUS_OBJECT_MISMATCH | The API object passed to NVPA_[API]_BeginPass/NVPA_[API]_EndPass and NVPA_[API]_PushRange/NVPA_[API]_PopRange does not match with the NVPA_[API]_BeginSession. |
NVPA_STATUS__COUNT | The number of enumerators in this enumeration. |