Differences

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

Link to this comparison view

Next revision
Previous revision
doku:papi_hl_c [2016/06/23 12:50] – created irdoku:papi_hl_c [2016/07/05 13:16] (current) ir
Line 1: Line 1:
 +<code> 
 /* example program calling a high level PAPI function */ /* example program calling a high level PAPI function */
  
Line 28: Line 29:
  
   /* Setup PAPI library and begin collecting data from the counters */   /* Setup PAPI library and begin collecting data from the counters */
-//if((retval=PAPI_flops( &real_time[0], &proc_time[0], &fl0ins, &mflops[0]))<PAPI_OK) 
 post=0; post=0;
     retval=PAPI_flops( &real_time[post], &proc_time[post], &flpins[post], &mflops[post]);     retval=PAPI_flops( &real_time[post], &proc_time[post], &flpins[post], &mflops[post]);
Line 123: Line 123:
     return(b);     return(b);
 } }
- +</code>  
  
  
  • doku/papi_hl_c.1466686222.txt.gz
  • Last modified: 2016/06/23 12:50
  • by ir