diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-02 02:10:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-02 02:10:54 +0000 |
commit | d57aa5e8a558a18acd7dd167d2fa86b823409172 (patch) | |
tree | aa939cfa1016b381cda1529540d6ea84f6bfaa62 /llvm/docs/CommandGuide/llvm-prof.html | |
parent | 7f7285bab7bd4b903eb75aa895ae730ab736f00a (diff) | |
download | bcm5719-llvm-d57aa5e8a558a18acd7dd167d2fa86b823409172.tar.gz bcm5719-llvm-d57aa5e8a558a18acd7dd167d2fa86b823409172.zip |
Checkin an initial version of the llvm-prof documentation
llvm-svn: 9649
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-prof.html')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-prof.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-prof.html b/llvm/docs/CommandGuide/llvm-prof.html new file mode 100644 index 00000000000..2f99df5163f --- /dev/null +++ b/llvm/docs/CommandGuide/llvm-prof.html @@ -0,0 +1,42 @@ +<html> +<title>LLVM: llvm-prof tool</title> + +<body bgcolor=white> + +<center><h1>LLVM: <tt>llvm-prof</tt> tool</h1></center> +<HR> + +<h3>NAME</h3> +<tt>llvm-prof</tt> + +<h3>SYNOPSIS</h3> +<tt>llvm-prof [options] [bytecode file] [LLVM passes]</tt> + +<h3>DESCRIPTION</h3> + +The <tt>llvm-prof</tt> tool reads in an '<tt>llvmprof.out</tt>' file, a bytecode +file for the program, and produces a human readable report, suitable for +determining where the program hotspots are.<p> + + +<h3>OPTIONS</h3> + +<ul> + <li><tt>-annotated-llvm</tt> or <tt>-A</tt><br> + + In addition to the normal report printed, print out the code for the + program, annotated we execution frequency information. This can be + particularly useful when trying to visualize how frequently basic blocks + are executed. This is most useful with basic block profiling + information or better.<p> +</ul> + +<h3>EXIT STATUS</h3> + +<tt>llvm-prof</tt> returns 1 if it cannot load the bytecode file or the profile +information, otherwise it exits with zero. + +<HR> +Maintained by the <a href="http://llvm.cs.uiuc.edu">LLVM Team</a>. +</body> +</html> |