Skip to content

t348575/simple-profiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple header-only profiler wrapper over the perfetto SDK Visits

Check src/main.cc for an example usage

Instructions

  • 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_CATEGORIES to set trace categories
  • Use PROFILE_FUNCTION, PROFILE_SCOPE etc. to trace scopes
  • Run your code and load the results.data file into perfetto ui

About

Header only visual profiler using perfetto

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published