GpaGetNumEnabledCounters
Syntax
Description
Gets the number of enabled counters.
Parameters
Name |
Description |
---|---|
|
Unique identifier of a previously-created session. |
|
The value which will hold the number of enabled counters contained within the session upon successful execution. |
Return value
Return value |
Description |
---|---|
kGpaStatusOk |
The number of enabled counters was successfully retrieved. |
kGpaStatusErrorNullPointer |
The supplied
session_id parameter is NULL.The supplied
count parameter is NULL. |
kGpaStatusErrorSessionNotFound |
The supplied |
kGpaStatusErrorContextNotOpen |
The supplied session’s parent context is not currently open. |
kGpaStatusErrorFailed |
The number of enabled counters could not be retrieved. |
kGpaStatusErrorException |
Exception occurred. |