Skip to content

API Functions

NameDescription
GpaBeginCommandListBegins a command list for sampling.
GpaBeginSampleBegins a sample in a command list.
GpaBeginSessionBegins sampling with the currently enabled set of counters.
GpaCloseContextCloses the specified context, which ends access to GPU performance counters.
GpaContinueSampleOnCommandListContinues a sample from one primary command list on to another primary command list.
GpaCopySecondarySamplesCopies a set of samples from a secondary command list back to the primary command list that executed the secondary command list.
GpaCreateSessionCreates a session on the specified context.
GpaDeleteSessionDeletes a session object.
GpaDestroyUndoes any initialization to ensure proper behavior in applications that are not being profiled.
GpaDisableAllCountersDisables all counters.
GpaDisableCounterDisables the specified counter.
GpaDisableCounterByNameDisables the counter with the specified counter name (case insensitive).
GpaEnableAllCountersEnables all counters.
GpaEnableCounterEnables the specified counter.
GpaEnableCounterByNameEnables the counter with the specified counter name (case insensitive).
GpaEndCommandListEnds command list for sampling.
GpaEndSampleEnds a sample in a command list.
GpaEndSessionEnds sampling with the currently enabled set of counters.
GpaGetCounterDataTypeGets the data type of the specified counter.
GpaGetCounterDescriptionGets the description of the specified counter.
GpaGetCounterGroupGets the group of the specified counter.
GpaGetCounterIndexGets index of a counter given its name (case insensitive).
GpaGetCounterNameGets the name of the specified counter.
GpaGetCounterSampleTypeGets the sample type of the specified counter.
GpaGetCounterUsageTypeGets the usage type of the specified counter.
GpaGetCounterUuidGets the UUID type of the specified counter.
GpaGetDataTypeAsStrGets a string representation of the specified counter data type.
GpaGetDeviceAndRevisionIdGets the GPU device id and revision id associated with the specified context.
GpaGetDeviceGenerationGets the device generation of the GPU associated with the specified context.
GpaGetDeviceMaxLdsBytesGets the max number of LDS bytes on the GPU.
GpaGetDeviceMaxVgprsGets the max number of VGPRs on the GPU.
GpaGetDeviceMaxWaveSlotsGets the total number of wave slots on the GPU.
GpaGetDeviceNameGets the device name of the GPU associated with the specified context.
GpaGetEnabledIndexGets the counter index for an enabled counter.
GpaGetFuncTableGets the GPA API function table.
GpaGetNumCountersGets the number of counters available.
GpaGetNumEnabledCountersGets the number of enabled counters.
GpaGetPassCountGets the number of passes required for the currently enabled set of counters.
GpaGetSampleCountGets the number of samples created for the specified session.
GpaGetSampleIdGets the sample id of the sample with the specified index.
GpaGetSampleResultGets the result data for a given sample.
GpaGetSampleResultSizeGets the result size (in bytes) for a given sample.
GpaGetStatusAsStrGets a string representation of the specified GPA status value.
GpaGetSupportedSampleTypesGets a mask of the sample types supported by the specified context.
GpaGetUsageTypeAsStrGets a string representation of the specified counter usage type.
GpaGetVersionGets the GPA version.
GpaInitializeInitializes the driver so that counters are exposed.
GpaIsCounterEnabledChecks whether or not a counter is enabled.
GpaIsPassCompleteChecks whether or not a pass has finished.
GpaIsSessionCompleteChecks if results for all samples within a session are available.
GpaOpenContextOpens the specified context, which provides access to GPU performance counters.
GpaRegisterLoggingCallbackRegisters a callback function to receive log messages.