Unix/Linux Go Back    

CentOS 7.0 - man page for papi_list_threads (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

PAPI_list_threads(3)			       PAPI			     PAPI_list_threads(3)

       PAPI_list_threads -

       List the registered thread ids.

Detailed Description
       PAPI_list_threads() returns to the caller a list of all thread IDs known to PAPI.

       This call assumes an initialized PAPI library.

       C Interface
	   #include <papi.h>
	   int PAPI_list_threads(PAPI_thread_id_t *tids, int * number );

	   *tids -- A pointer to a preallocated array. This may be NULL to only return a count of
	   threads. No more than *number codes will be stored in the array.
	   *number -- An input and output parameter. Input specifies the number of allocated
	   elements in *tids (if non-NULL) and output specifies the number of threads.

       Return values:
	   PAPI_OK The call returned successfully.
	   PAPI_EINVAL *number has an improper value

       See Also:




	   PAPI_thread_init PAPI_thread_id

       Generated automatically by Doxygen for PAPI from the source code.

Version 			 Tue Jun 17 2014		     PAPI_list_threads(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:21 PM.