Query: papi_unregister_thread
OS: centos
Section: 3
Links: centos man pages | All man pages
Forums: Unix Linux Community | Forum Categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PAPI_unregister_thread(3) PAPI PAPI_unregister_thread(3)NAMEPAPI_unregister_thread - Notify PAPI that a thread has 'disappeared'.SYNOPSISDetailed Description Return values: 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. PAPI_unregister_thread should be called when the user wants to shutdown a particular thread and free the associated thread ID. THIS IS IMPORTANT IF YOUR THREAD LIBRARY REUSES THE SAME THREAD ID FOR A NEW KERNEL LWP. OpenMP does this. OpenMP parallel regions, if separated by a call to omp_set_num_threads() will often kill off the underlying kernel LWPs and then start new ones for the next region. However, omp_get_thread_id() does not reflect this, as the thread IDs for the new LWPs will be the same as the old LWPs. PAPI needs to know that the underlying LWP has changed so it can set up the counters for that new thread. This is accomplished by calling this function. Author Generated automatically by Doxygen for PAPI from the source code. Version 5.2.0.0 Tue Jun 17 2014 PAPI_unregister_thread(3)
Related Man Pages |
---|
papi_set_thr_specific(3) - centos |
papi_get_virt_usec(3) - centos |
papi_is_initialized(3) - centos |
papi_read_counters(3) - centos |
papi_start_counters(3) - centos |
Similar Topics in the Unix Linux Community |
---|
Weird 'find' results |
How to increment version inside a file? |
CentOS7 restoring file capabilities |
CentOS 6 ran out of space, need to reclaim it |
Controlling user input |