Skip to content
Snippets Groups Projects
Commit 8fd46d1f authored by Ondrej Vysocky's avatar Ondrej Vysocky
Browse files

UPD MERIC region end function now requires region name

parent 4fa3946e
No related branches found
No related tags found
No related merge requests found
Pipeline #29162 failed
......@@ -16,9 +16,9 @@
* Only one of the supported libraries can be selected, if none of them is
* selected, then no instrumentation is inserted to the application's code.
*
* version 4.0
* 25.03.2019
* Ondrej Vysocky, ondrej.vysocky@vsb.cz
* version 4.1
* 06.12.2022
* Ondrej Vysocky, ondrej.vysocky [at] vsb.cz
* IT4Innovations national supercomputing center, Czech Republic
**/
......@@ -310,7 +310,7 @@ inline static double INSTRUMENT_RETURN_ZERO()
// #define INSTRUMENT_REGION_DEFINE( handle, name, TAUtype_GEOPMhint, param )
#endif
//INSTRUMENT_REGION_START(handle, name, SCOREPtype)
//INSTRUMENT_REGION_START(handle, name, SCOREPtype)
#ifdef USE_SCOREP_MANUAL
#define INSTRUMENT_REGION_START( handle, name, SCOREPtype ) \
SCOREP_USER_REGION_BEGIN( handle, name, SCOREPtype );
......@@ -353,7 +353,7 @@ inline static double INSTRUMENT_RETURN_ZERO()
SCOREP_USER_REGION_END( handle );
#elif defined USE_MERIC
#define INSTRUMENT_REGION_STOP( handle, name ) \
MERIC_MeasureStop();
MERIC_MeasureStop( name );
#elif defined USE_TIMEPROF
#define INSTRUMENT_REGION_STOP( handle, name ) \
TIMEPROF_regionStop ( name );
......@@ -395,7 +395,7 @@ inline static double INSTRUMENT_RETURN_ZERO()
SCOREP_USER_REGION_BEGIN( start_handle, start_name, SCOREPtype );
#elif defined USE_MERIC
#define INSTRUMENT_REGION_STOP_START( stop_handle, stop_name, start_handle, start_name, SCOREPtype ) \
MERIC_MeasureStopStart( start_name );
MERIC_MeasureStopStart( stop_name, start_name );
#elif defined USE_TIMEPROF
#define INSTRUMENT_REGION_STOP_START( stop_handle, stop_name, start_handle, start_name, SCOREPtype ) \
TIMEPROF_regionStop ( stop_name ); \
......@@ -483,7 +483,7 @@ inline static double INSTRUMENT_RETURN_ZERO()
SCOREP_USER_OA_PHASE_END( handle );
#elif defined USE_MERIC
#define INSTRUMENT_PHASE_STOP( handle, name ) \
MERIC_MeasureStop();
MERIC_MeasureStop( name );
#elif defined USE_TAU
#define INSTRUMENT_PHASE_STOP( handle, name ) \
INSTRUMENT_RETURN_ZERO(); \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment