threadmeasured
Threadmeasured is a software framework designed to collect and analyze per-thread performance data in multi-threaded applications. It provides a common API to measure execution time, CPU usage, context switches, and memory-affinity metrics on a per-thread basis, across different runtimes and programming languages.
The project aims to help developers identify thread imbalance, synchronization bottlenecks, and scheduling overhead in parallel
Core components include a timer, a thread-local data store, a data collector, and an exporter. Timers can
History and usage: Tools with similar goals emerged as multi-core architectures became prevalent, and threadmeasured-like approaches
Limitations: Instrumentation incurs overhead and can perturb the very metrics it aims to measure. Platform-specific inaccuracies