Rebel Fork Framework
|
Engine integrates tracy for CPU profiling. GPU profiling may be supported in the future. In order to profile your application do the following:
-DURHO3D_PROFILING=ON
URHO3D_PROFILE*
macros.Connect
:Profile a block of code until end of scope. Pass unquoted string as a name of block.
Profile a block of code until end of scope. Pass unquoted string as a name of block. Displayed block will have a specified rgb color.
If you use worker threads this macro can be used to give meaningful names to the threads. Place this macro at the start of worker function.
Keep track of arbitrary numeric values.
Save a message to profiler log window.
Set a custom string name to the profiled block.
Internal engine macro. Do not use.