Differences

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

Link to this comparison view

Next revision
Previous revision
doku:papi_ll_c [2016/06/23 12:53] – created irdoku:papi_ll_c [2016/07/05 13:03] (current) ir
Line 1: Line 1:
-   #include "papi.h"+==== Interfacing with PAPI : Low level interface for C ==== 
 + 
 +<code> 
 +#include <stdio.h> 
 +#include <stdlib.h> 
 +#include "papi.h" 
 + 
 +main() 
 +{
    // PAPI variables    // PAPI variables
    // best is to analyze one particular event at a time    // best is to analyze one particular event at a time
Line 61: Line 69:
    // PAPI Finalize    // PAPI Finalize
    PAPI_shutdown();    PAPI_shutdown();
-   + } 
 +</code> 
 +  
  • doku/papi_ll_c.1466686387.txt.gz
  • Last modified: 2016/06/23 12:53
  • by ir