Commit Graph

2 Commits

Author SHA1 Message Date
Martin Piatka
6c71113a0c profile_timer: Fix move constructor 2022-09-20 16:35:54 +02:00
Martin Piatka
4dcf316276 Add simple profiler
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
2020-09-30 12:55:15 +02:00