How Do You Profile Code?
- Compile/link with final compiler optimizations turned on
- cc foo.c -use_final_optimization_flags ....
- Instrument the code
- Unix: pixie foo.exe -> foo.exe.pixie
- Visual Studio: embedded in tool suite
- Run the application with relevant data sets
- foo.exe.pixie - args -> produces results data file