Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
instrumentAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Energy-efficiency
instrumentAPI
Commits
8fd46d1f
Commit
8fd46d1f
authored
2 years ago
by
Ondrej Vysocky
Browse files
Options
Downloads
Patches
Plain Diff
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
2 years ago
Stage: env
Stage: compile
Stage: run
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
instrument.h
+7
-7
7 additions, 7 deletions
instrument.h
with
7 additions
and
7 deletions
instrument.h
+
7
−
7
View file @
8fd46d1f
...
...
@@ -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
.20
19
* Ondrej Vysocky, ondrej.vysocky
@
vsb.cz
* version 4.
1
*
06.12
.20
22
* 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(); \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment