table of contents
other versions
- jessie 5.3.2-2
- jessie-backports 5.5.1-1~bpo8+1
- stretch 5.5.1-2
- testing 5.6.0+git99-gd5a1a9ae2-1
- unstable 5.7.0-1
PAPI_num_events(3) | PAPI | PAPI_num_events(3) |
NAME¶
PAPI_num_events - Return the number of events in an event set.SYNOPSIS¶
Detailed Description¶
PAPI_num_events() returns the number of preset and/or native events contained in an event set. The event set should be created by PAPI_create_eventset . C Interface:#include <papi.h>
int PAPI_num_events(int EventSet );
Parameters:
int PAPI_num_events(int EventSet );
EventSet -- an integer handle for a PAPI event set
created by PAPI_create_eventset.
*count -- (Fortran only) On output the variable contains the number of
events in the event set
Return values:
On success, this function returns the positive
number of events in the event set.
PAPI_EINVAL The event count is zero; only if code is compiled with debug
enabled.
PAPI_ENOEVST The EventSet specified does not exist.
Example
* // Count the events in our EventSet * printf( *
PAPI_add_event
PAPI_create_eventset
Author¶
Generated automatically by Doxygen for PAPI from the source code.Thu Nov 17 2016 | Version 5.5.1.0 |