Microprofile
UNIGINE has support for microprofile, an external embeddable CPU/GPU profiler with support for per-frame inspection. The profiler serves output as a local web server (works in the Google Chrome web-browser only), the default port is 1337 (the used port will be displayed in console).
Running Microprofile
To build the engine with support for microprofile, use the USE_MICROPROFILE preprocessor macro. It is enabled by default for Mac and Linux operating systems, Visual Studio 2012+ is required for buidling on Windows (because of some C++11 features).
Using Performance Profiler
microprofile allows you to use engine.profilerfunctions to profile a certain piece of your code via using counters.
Counters can be nested.
Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)