Hardware Analysis Tools
The CHUD Tools include additional applications for doing hardware and low-level software analysis. The graphical applications are installed in /Developer/Applications/Performance Tools/CHUD and the command-line tools are installed in /usr/bin. All of the tools are included with the Xcode Tools. Table 3-3 lists the tools that are part of this package and provides a brief overview of their purpose.
Table 3-3 CHUD toolsName | Description |
CacheBasher | Measures cache performance under a wide range of conditions. |
MONster | Collects sampling data at a hardware level. The tool can collect samples at a systemwide or process-specific level and display the metrics for the collected data. You can use this tool to gather metrics such as utilized bandwidth, cycles per instruction, and cache miss rates. |
PMC Index | Lets you search for available performance counter events. When you select multiple events, the tool notifies you if those events cannot be recorded simultaneously. |
Reggie SE | Lets you examine and modify CPU and PCI configuration registers. |
Skidmarks GT | Measures integer, floating-point, and vector performance. |
acid
| A command-line tool that analyzes TT6E instruction traces and presents detailed analyses and histograms. You can use this tool to detect bad instruction sequences, such as misaligned operands, data dependency stalls, and spilled loads. |
amber
| A command-line tool that traces all threads of execution in a process, recording every instruction and data access to a trace file. This tool can generate traces in TT6, TT6E, or FULL format. |
simg4
| A command-line tool that is a cycle-accurate simulator of the Motorola 7400 processor. This tool takes TT6 traces as input. |
simg5
| A command-line tool that is a cycle-accurate simulator of the IBM 970 processor. This tool takes TT6 traces as input. |
For information about using the CHUD tools, see online help for a particular tool. Documentation for some CHUD tools is also installed in /Developer/ADC Reference Library/CHUD.