Simple header-only profiler wrapper over the perfetto SDK 
Check src/main.cc for an example usage
- Include the header src/VisualProfiler.hpp
- Link the perfetto SDK
- Add
PROFILER_STORAGE()to your entrypoint file - Use
PROFILER_INIT()to initialize the trace - Use
PROFILER_DEFINE_CATEGORIESto set trace categories - Use
PROFILE_FUNCTION,PROFILE_SCOPEetc. to trace scopes - Run your code and load the
results.datafile into perfetto ui