Only built when -DBUILD_PROFILED is defined. To enable profiling set
output file name using the UG_PROFILE enviroment variable. The profiler
will then output a file which contains profiling data viewable in
Chromium (chrome://tracing). Use the macro PROFILE_FUNC at the start of
c++ functions you want to include in the profiling