GpaGetNumCounters
Syntax
Description
Gets the number of counters available.
Parameters
Name |
Description |
---|---|
|
Unique identifier of a previously-opened context. |
|
The value which will hold the count upon successful execution. |
Return value
Return value |
Description |
---|---|
kGpaStatusOk |
The number of counters was successfully retrieved. |
kGpaStatusErrorNullPointer |
The supplied
count parameter is NULL.The supplied
context_id parameter is NULL. |
kGpaStatusErrorContextNotOpen |
The supplied context is not currently open. |
kGpaStatusErrorContextNotFound |
The supplied |
kGpaStatusErrorFailed |
The number of counters could not be retrieved. |
kGpaStatusErrorException |
Exception occurred. |