3 ms·
Nice, but it only supports Vulkan? I did something similar in a few macros myself by creating nested scopes which record the current time on enter and exit. Ho
by ensiferum 5y ago
Nice, but it only supports Vulkan?
I did something similar in a few macros myself by creating nested scopes which record the current time on enter and exit. However I'm leveraging the UI built into chromium for the visualization.
https://github.com/ensisoft/gamestudio/blob/master/base/trace.h https://github.com/ensisoft/gamestudio/blob/master/base/trac...
- erwincoumans 5y agoYes, Chrome about://tracing is great to visualize your custom timing data. Happy used for the last 5 years in Bullet and recent physics engines, including events across tracing multiple threads: https://github.com/google-research/tiny-differentiable-simulator/blob/master/src/visualizer/opengl/utils/tiny_chrome_trace_util.cpp https://github.com/google-research/tiny-differentiable-simul...