This is a C++ Run-Time profiler I built for didactic purposes.
You should be able to clone the repo and launch the project using the provided .sln since every dependency is also inside the repo.
The repo contains the Library folder and 3 examples but I suggest you to look at a more concrete application here.
It's intended use is for Game profiling, thus it's built to be thread-safe, have minimal inpact and provide profiling info about frame-related data.
- Just by adding the library, all the code will be inspected automatically :)
- You can get statistics and information at runtime
- You can enable / disable the library at runtime
- You can annotate when a frame starts and when a frame ends
- You can display the profiling data using the built-in function for ImGui (its optional)