GpaGetNumCounters
Syntax
Description
Gets the number of counters available.
Parameters
Name |
Description |
---|---|
|
Unique identifier of a previously-created session. |
|
The value which will hold the count upon successful execution. |
Return value
Return value |
Description |
---|---|
kGpaStatusOk |
The number of counters was successfully retrieved. |
kGpaStatusErrorGpaNotInitialized |
GPA was not initialized. Call GpaInitialize before all other entrypoints. |
kGpaStatusErrorNullPointer |
The supplied
count parameter is NULL.The supplied
session_id parameter is NULL. |
kGpaStatusErrorSessionNotFound If the supplied |
|
kGpaStatusErrorFailed |
The number of counters could not be retrieved. |
kGpaStatusErrorException |
Exception occurred. |