Show HN: Profiler for multi-threaded apps in 200 lines of C

2 points by stolk ↗ HN
For my multi-threaded app, I needed an inline profiler. Current Open Source offerings show wall-clock time only. So I decided to write one that shows you how often a task got pre-empted by the scheduler.

In just 200 lines of C code:

https://github.com/stolk/ThreadTracer

0 comments

[ 3.2 ms ] story [ 11.9 ms ] thread

No comments yet.