This is a simple component that renders profiler data on your ImGui interface.
ProfilerGraph class is responsible for rendering one profiling histogram with legend (either CPU or GPU) and ProfilersWindow is a simple window with 2 graphs designed to render CPU and GPU data respectively.
Licensing You're free to use any parts of this code in your private as well as commercial projects as long you leave an attribution somewhere. MIT license, basically. I'd also appreciate if you let me know that you found it useful.