|
PAPI
5.7.0.0
|
Get the number of hardware counters available on the system. More...
| PAPI_EINVAL | papi.h is different from the version used to compile the PAPI library. |
| PAPI_ENOMEM | Insufficient memory to complete the operation. |
| PAPI_ESYS | A system or C library call failed inside PAPI, see the errno variable. |
PAPI_num_counters() returns the optimal length of the values array for the high level functions. This value corresponds to the number of hardware counters supported by the current CPU component.