PAPIf_hl_region_end
Reads and stores hardware events at the end of an instrumented code region.
- Provided by: libpapi-dev (Version: 7.2.0-2)
- Source: papi
- Report a bug
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.