sewardj | a9a2dcf | 2002-11-11 00:20:07 +0000 | [diff] [blame] | 1 | <html> |
| 2 | <head> |
| 3 | <style type="text/css"> |
| 4 | body { background-color: #ffffff; |
| 5 | color: #000000; |
| 6 | font-family: Times, Helvetica, Arial; |
| 7 | font-size: 14pt} |
| 8 | h4 { margin-bottom: 0.3em} |
| 9 | code { color: #000000; |
| 10 | font-family: Courier; |
| 11 | font-size: 13pt } |
| 12 | pre { color: #000000; |
| 13 | font-family: Courier; |
| 14 | font-size: 13pt } |
| 15 | a:link { color: #0000C0; |
| 16 | text-decoration: none; } |
| 17 | a:visited { color: #0000C0; |
| 18 | text-decoration: none; } |
| 19 | a:active { color: #0000C0; |
| 20 | text-decoration: none; } |
| 21 | </style> |
| 22 | <title>Cachegrind</title> |
| 23 | </head> |
| 24 | |
| 25 | <body bgcolor="#ffffff"> |
| 26 | |
| 27 | <a name="title"></a> |
| 28 | <h1 align=center>Lackey</h1> |
| 29 | <center>This manual was last updated on 2002-10-03</center> |
| 30 | <p> |
| 31 | |
| 32 | <center> |
| 33 | <a href="mailto:njn25@cam.ac.uk">njn25@cam.ac.uk</a><br> |
| 34 | Copyright © 2000-2002 Nicholas Nethercote |
| 35 | <p> |
| 36 | Lackey is licensed under the GNU General Public License, |
| 37 | version 2<br> |
| 38 | Lackey is an example Valgrind skin that does some very basic program |
| 39 | measurement. |
| 40 | </center> |
| 41 | |
| 42 | <p> |
| 43 | |
| 44 | <h2>1 Lackey</h2> |
| 45 | |
| 46 | Lackey is a simple Valgrind skin that does some basic program measurement. |
| 47 | It adds quite a lot of simple instrumentation to the program's code. It is |
| 48 | primarily intended to be of use as an example skin. |
| 49 | <p> |
| 50 | It measures three things: |
| 51 | |
| 52 | <ol> |
| 53 | <li>The number of calls to <code>_dl_runtime_resolve()</code>, the function |
| 54 | in glibc's dynamic linker that resolves function lookups into shared |
| 55 | objects.<p> |
| 56 | |
| 57 | <li>The number of UCode instructions (UCode is Valgrind's RISC-like |
| 58 | intermediate language), x86 instructions, and basic blocks executed by the |
| 59 | program, and some ratios between the three counts.<p> |
| 60 | |
| 61 | <li>The number of conditional branches encountered and the proportion of those |
| 62 | taken.<p> |
| 63 | </ol> |
| 64 | |
| 65 | <hr width="100%"> |
| 66 | </body> |
| 67 | </html> |
| 68 | |