Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
doku:papi_ir [2016/06/23 13:23] – [Interfacing with PAPI : Low level interface] irdoku:papi_ir [2016/07/06 10:30] – [Interfacing with PAPI : Low level interface] ir
Line 28: Line 28:
 ==== Interfacing with PAPI : Low level interface ==== ==== Interfacing with PAPI : Low level interface ====
 In general, some code section to be analyzed with PAPI needs to be wrapped into a sequence of standard PAPI calls.  In general, some code section to be analyzed with PAPI needs to be wrapped into a sequence of standard PAPI calls. 
-Here, code examples for  +Code examples for  
-  * [[doku:papi_ll_c|C users]] and +  * [[doku:papi_ll_c|C]] users and 
-  * [[doku:papi_ll_Fortran|Fortran users]] can be found.+  * [[doku:papi_ll_Fortran|Fortran]] users.
 As stated in the comment of the C code above, it is best to analyze one particular event at a time. This advice is given because the CPU has limitations in combining arbitrary counters at a time.  As stated in the comment of the C code above, it is best to analyze one particular event at a time. This advice is given because the CPU has limitations in combining arbitrary counters at a time. 
 ==== 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'' next to the last paragraph of ''papi.h''. It can also be used in conjunction with the low-level API. An example of the usage of the high level API can be found here [[doku:papi_hl_c|for C users]]. +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'' next to the last paragraph of ''papi.h''. It can also be used in conjunction with the low-level API. An example for the usage of the high level API can be found for 
 +  * [[doku:papi_hl_c|C]] users and 
 +  * [[doku:papi_hl_fortran|Fortran]] users 
 + 
 ==== 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 ''papi_avail''   * A quick overview of supported events and corresponding PAPI variables for a particular type of CPU is obtained from executing command ''papi_avail''
  • doku/papi_ir.txt
  • Last modified: 2016/06/23 13:23
  • by ir