Implements a macro to enable automatic function profiling.
Implements a macro to enable automatic function profiling. Should be used with proflogger.