The motivation is handling the case where benchmarking is disabled. In this case, we defined no-op versions of caliper macros, so marked code can still compile. However, if a Serac user (e.g. LiDO) does the same thing, we have a double define of macros, which results in a compiler error.
TODO
[x] Re-add macros
[x] Add comment mentioning motivation in profiling.hpp
This PR re-adds the serac caliper wrapper macros.
The motivation is handling the case where benchmarking is disabled. In this case, we defined no-op versions of caliper macros, so marked code can still compile. However, if a Serac user (e.g. LiDO) does the same thing, we have a double define of macros, which results in a compiler error.
TODO
Fixes #1164