How to diagnose performance bottlenecks in C programs using measurement techniques
Explain the steps involved in using measurement tools (such as timers, profilers, or hardware counters) to identify performance issues in C code. Include considerations for setting up experiments, collecting data, interpreting results, and verifying improvements, while noting any assumptions about the environment or toolchain.