Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:papi_ir [2016/07/06 11:29] – [Interfacing with PAPI : High level interface] ir | doku:papi_ir [2016/07/06 12:10] – [Practical tips:] ir | ||
---|---|---|---|
Line 33: | Line 33: | ||
==== Interfacing with PAPI : High level interface ==== | ==== Interfacing with PAPI : High level interface ==== | ||
The high level API combines the counters for a specified list of PAPI preset events, only. The set of implemented high level functions is quite limited and can be found in the section '' | The high level API combines the counters for a specified list of PAPI preset events, only. The set of implemented high level functions is quite limited and can be found in the section '' | ||
- | Examples for the usage of the high level API: | + | The high level API can also be used in conjunction with the low level API. |
+ | |||
+ | Example code: | ||
* [[doku: | * [[doku: | ||
* [[doku: | * [[doku: | ||
- | The high level API can also be used in conjunction with the low level API. | + | |
==== Practical tips: ==== | ==== Practical tips: ==== | ||
* A quick overview of supported events and corresponding PAPI variables for a particular type of CPU is obtained from executing command '' | * A quick overview of supported events and corresponding PAPI variables for a particular type of CPU is obtained from executing command '' |