PAPIf_hl_region_end(3) | PAPI | PAPIf_hl_region_end(3) |
PAPIf_hl_region_end -
Reads and stores hardware events at the end of an instrumented code region.
Fortran Prototype:
Parameters:
Return values:
PAPIf_hl_region_end reads hardware events and stores the difference to the values from PAPIf_hl_region_begin at the end of an instrumented code region. Assumes that PAPIf_hl_region_begin was called before. Note that an output is automatically generated when your application terminates.
Example:
* integer retval * * call PAPIf_hl_region_begin("computation", retval) * if ( retval .NE. PAPI_OK ) then * write (*,*) "PAPIf_hl_region_begin failed!" * end if * * !do some computation here * * call PAPIf_hl_region_end("computation", retval) * if ( retval .NE. PAPI_OK ) then * write (*,*) "PAPIf_hl_region_end failed!" * end if * *
See Also:
Generated automatically by Doxygen for PAPI from the source code.
Thu Feb 27 2020 | Version 6.0.0.0 |