1PAPI_native(3) PAPI PAPI_native(3)
2
3
4
6 PAPI_native - Accessing PAPI native events
7
8
10 #include <papi.h>
11
12
14 In addition to the predefined PAPI preset events, the PAPI library also
15 exposes a majority of the events native to each platform. Native
16 events form the basic building blocks for PAPI presets. They can also
17 be used directly to access functions specific to a given platform.
18
19 Since native events are by definition specific to each platform, the
20 names for these events are unique to each platform. Native events for
21 a given platform can be discovered by combining the PAPI_enum_event(3)
22 and PAPI_event_code_to_name(3) or PAPI_get_event_info(3) functions.
23
24
26 Not every native event on every platform can be represented through the
27 native event interface. Occasionally, exotic but valuable events are
28 not represented. There is presently no method for representing these
29 events in a PAPI event set.
30
31
33 PAPI(3), PAPI_presets(3), PAPI_enum_event(3), PAPI_get_event_info(3),
34 PAPI_event_code_to_name(3), PAPI_event_name_to_code(3)
35
36
37
38PAPI Programmer's Reference September, 2004 PAPI_native(3)