PAPI_hl_read(3) | PAPI | PAPI_hl_read(3) |
PAPI_hl_read - Read performance events inside of a region and store the difference to the corresponding beginning of the region.
C Interface:
Parameters
Return values
PAPI_hl_read reads performance events inside of a region and stores the difference to the corresponding beginning of the region.
Assumes that PAPI_hl_region_begin was called before.
Example:
int retval; retval = PAPI_hl_region_begin("computation"); if ( retval != PAPI_OK ) handle_error(1); //Do some computation here retval = PAPI_hl_read("computation"); if ( retval != PAPI_OK ) handle_error(1); //Do some computation here retval = PAPI_hl_region_end("computation"); if ( retval != PAPI_OK ) handle_error(1);
See also
PAPI_hl_region_end
PAPI_hl_stop
Generated automatically by Doxygen for PAPI from the source code.
Thu Dec 14 2023 | Version 7.1.0.0 |