Profiling features moved to preprocessor macros