GpaGetDataTypeAsStr
Syntax
Description
Gets a string representation of the specified counter data type. This could be used to display counter types along with their name or value. For example the kGpaDataTypeUint64 counter_data_type
would return gpa_uint64
.
Parameters
Name |
Description |
---|---|
|
The data type whose string representation is needed. |
|
The address which will hold the string representation upon successful execution. |
Return value
Return value |
Description |
---|---|
kGpaStatusOk |
The string representation was successfully retrieved. |
kGpaStatusErrorNullPointer |
The supplied |
kGpaStatusErrorInvalidParameter |
The |
kGpaStatusErrorException |
Exception occurred. |