PAPI 7.1.0.0
|
Notify PAPI that a thread has 'appeared'. More...
PAPI_register_thread() should be called when the user wants to force PAPI to initialize a thread that PAPI has not seen before.
Usually this is not necessary as PAPI implicitly detects the thread when an eventset is created or other thread local PAPI functions are called. However, it can be useful for debugging and performance enhancements in the run-time systems of performance tools.
PAPI_ENOMEM | Space could not be allocated to store the new thread information. |
PAPI_ESYS | A system or C library call failed inside PAPI, see the errno variable. |
PAPI_ECMP | Hardware counters for this thread could not be initialized. |