You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to avoid too many ifdefs in the main code, there should be a header that maps common tracing calls to explicit ones (currently VT and Score-P, but potentially also Caliper and others). Likewise, CMake should then also not have flags for the specific tracing infrastructures, but to files that map the common tracing calls to those of Score-P/Caliper
ToDos:
Create a common header for Tracing include/firestarter/measurement/FS-Tracing.h
This header should be in C so that it can easily be matched against other C-based libraries
The standard implementation in include/firestarter/measurement/FS-Tracing.h should just be some do nothing
If a compiler flag indicates the use of a different header, this should be included instead
There shall be example implementations for these "different headers" that map calls to this header to Score-P, and maybe others placed in in examples/tracing
Tracing examples will not be part of any testing, this should be in the README
Replace all Score-P calls with calls to his header
Create example implementations for VT and Score-P
Remove Score-P Flags from CMake
Add Flags to CMake:
for passing libraries / library pathes
one header (for matching the trace calls from FS and including other headers) and include pathes
and maybe one C file for things that cannot be done in the header
(edit: removed VampirTrace)
The text was updated successfully, but these errors were encountered:
It seems that tracing infrastructures can be complicated sometimes, so Score-P stuff is back in CMakeLists. Also VampirTrace is discontinued and removed. It might use https://github.com/Deric-W/FindScoreP later on...
But maybe a C-header and some small matching Score-P/Caliper as example implementations would be better...
In order to avoid too many ifdefs in the main code, there should be a header that maps common tracing calls to explicit ones (currently VT and Score-P, but potentially also Caliper and others). Likewise, CMake should then also not have flags for the specific tracing infrastructures, but to files that map the common tracing calls to those of Score-P/Caliper
ToDos:
include/firestarter/measurement/FS-Tracing.h
include/firestarter/measurement/FS-Tracing.h
should just be some do nothingexamples/tracing
(edit: removed VampirTrace)
The text was updated successfully, but these errors were encountered: