PAPIf_hl_read(3) | PAPI | PAPIf_hl_read(3) |
PAPIf_hl_read -
Reads and stores hardware events inside of an instrumented code region.
Fortran Prototype:
Parameters:
Return values:
PAPIf_hl_read reads hardware events and stores them internally inside of an instrumented code region. Assumes that PAPIf_hl_region_begin was called before.
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_read("computation", retval) if ( retval .NE. PAPI_OK ) then
write (*,*) "PAPIf_hl_read 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.
Mon Nov 14 2022 | Version 7.0.0.0 |