Split profiler in .h and .cpp