MuseScore/thirdparty/haw_profiler
2020-12-18 14:36:23 +02:00
..
src Fix (MSCV) compiler warnings related to UNITY build 2020-12-18 14:36:23 +02:00
tests added profiler 2020-11-27 15:22:09 +02:00
.gitignore added profiler 2020-11-27 15:22:09 +02:00
LICENSE added profiler 2020-11-27 15:22:09 +02:00
README.md added profiler 2020-11-27 15:22:09 +02:00

Simple profiler

Simple, embedded profiler with very small overhead
(ported from https://github.com/igorkorsukov/qzebradev)

Features:

  • Embedded profiler (can run anywhere and anytime)
  • Function duration measure
  • Steps duration measure
  • Very small overhead
  • Enabled / disabled on compile time and run time
  • Thread safe (without use mutex)
  • Custom data printer

Example

To use Profiler within your software project include the Profiler source into your project

Source:

  • profiler.h/cpp - profiler and macros

or see and include src/profiler.cmake in the cmake project