addProfiling has overhead even if not active
addProfiling calls clockTime even if not active. The profilingTrigger does two thing:
- construct clockTime. This calls the low-level time function.
- optionally return/construct a profilingInformation. This is protected from doing anything expensive unless it is active().
The addProfiling macro should really check for profiling::active().