Skip to content
All tags

#callgrind

1 posts

Stanford CS107 Lecture 24: Profile with Callgrind, Then Read What GCC Optimized

CS107 Lecture 24 builds a measurement workflow with matrix multiplication and Callgrind, then examines GCC constant folding, common-subexpression elimination, dead-code elimination, strength reduction, code motion, and recursion-to-loop conversion. Optimization starts with bottleneck evidence.