940 B
940 B
profiler
Simple, embedded profiler with very small overhead
Requires C++17 and higher.
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
Used in at least two private commercial projects and one open source.
Integration
To use Profiler within your software project include the Profiler source into your project
Source:
- profiler.h/cpp - profiler and macros
- funcinfo.h - macros for parsing signatures
or see and include profiler.cmake
in the cmake project
ChangeLog
v1.1
- Improved parsing of function signatures
- Fixed get threads data
v1.0
- Ported from https://github.com/igorkorsukov/qzebradev