SGI SpeedShop
SpeedShop supports three different methods of profiling:
- Sampling: The unmodified program is interrupted by some time base, and the program counter is recorded in a trace file at each interruption. Speedshop can use the system timer or any of the R10000 counter events as the time base.
- Ideal time: A copy of the program binary is modified to put trap instructions at the end of every basic block. During execution, the exact number of executions of each basic block is counted.