Skip to content

Commit 69919d4

Browse files
authored
Use the right GPA_Session_Sample_Type value
s/GPA_SAMPLE_TYPE_DISCRETE_COUNTER/GPA_SESSION_SAMPLE_TYPE_DISCRETE_COUNTER Definition of GPA_Session_Sample_Type can be found in https://github.com/GPUOpen-Tools/GPA/blob/master/Src/GPUPerfAPI-Common/GPUPerfAPITypes.h#L310.
1 parent 1eaee4a commit 69919d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/api_functions/gpa_beginsample.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Description
1717

1818
Begins a sample in a command list. A sample is a particular workload for which
1919
counters will be collected. If the owning session was created with
20-
GPA_SAMPLE_TYPE_DISCRETE_COUNTER and one or more counters have been enabled,
20+
GPA_SESSION_SAMPLE_TYPE_DISCRETE_COUNTER and one or more counters have been enabled,
2121
then those counters will be collected for this sample. Each sample must be
2222
associated with a GPA command list. The command list must have been previously
2323
started before starting a sample. Samples can be created by multiple threads

0 commit comments

Comments
 (0)