2.0.4 (revision 1809)
OpenMP Pragma And Region Instrumentor
|
This file contains the declarations of all POMP2 functions. More...
#include <stddef.h>
#include <stdint.h>
Go to the source code of this file.
Typedefs | |
typedef void * | OPARI2_Region_handle |
Functions | |
POMP2_Task_handle | POMP2_Get_new_task_handle (void) |
Functions generated by the instrumenter | |
size_t | POMP2_Get_num_regions (void) |
void | POMP2_Init_regions (void) |
const char * | POMP2_Get_opari2_version (void) |
This file contains the declarations of all POMP2 functions.
typedef void* OPARI2_Region_handle |
Handles to identify OpenMP regions. To avoid multiple typedefs of OPARI2_Region_handle
POMP2_Task_handle POMP2_Get_new_task_handle | ( | void | ) |
Function that returns a new task handle.
size_t POMP2_Get_num_regions | ( | void | ) |
Returns the number of instrumented regions.
The instrumenter scans all OPARI2-created include files with nm and greps the POMP2_INIT_uuid_numRegions() function calls. Here we return the sum of all numRegions.
const char* POMP2_Get_opari2_version | ( | void | ) |
Returns the OPARI2 version.
void POMP2_Init_regions | ( | void | ) |
Init all OPARI2-created regions.
The instrumentor scans all OPARI2-created include files with nm and greps the POMP2_INIT_uuid_numRegions() function calls. The instrumentor then defines these functions by calling all grepped functions.