Jump to content

AMD CodeAnalyst

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 163.181.251.103 (talk) at 22:47, 8 February 2012 (Updated the article). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
CodeAnalyst
Developer(s)AMD
Operating systemLinux, Windows
TypeProfiler
Websitedeveloper.amd.com/tools/CodeAnalyst/Pages/default.aspx

AMD CodeAnalyst is a GUI-based code profiler for x86-based machines. CodeAnalyst has similar look and feel on both Linux and Microsoft Windows platforms. CodeAnalyst uses specific hardware profiling techniques which are designed to work with AMD processors, as well as a timer-based profiling technique which does not require a specific processor; this allows a subset of profiling features to work on non-AMD processors, such as Intel processors.[1]

Code optimization

CodeAnalyst is built on OProfile for the Linux platform and is available as a free download. The GUI assists in various kinds of code profiling including time based profiling, hardware event-based profiling, instruction-based profiling and others. This produces statistics about details such as time spent in each subroutine which can be drilled down to the source code or instruction level. The time taken by the instructions can be indicative of stalls in the pipeline during instruction execution. Optimization could be as simple as reordering the instructions for maximum utilization of a data line cache or altering/removing the branches and loops so that the maximum number of execution units(Load/Store units, ALU, FP execution unit...) are utilized in parallel.

See also

References

  1. ^ "How I ran AMD CodeAnalyst on an Intel CPU". Nov 04, 2009. Retrieved 2010-02-23. {{cite web}}: Check date values in: |date= (help); External link in |authorlink= (help)