blob: 72f1e8425ad631afe5b7dfeef2d8662ddb422fcb [file] [log] [blame]
sewardja9a2dcf2002-11-11 00:20:07 +00001<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>
34Copyright &copy; 2000-2002 Nicholas Nethercote
35<p>
36Lackey is licensed under the GNU General Public License,
37version 2<br>
38Lackey is an example Valgrind skin that does some very basic program
39measurement.
40</center>
41
42<p>
43
44<h2>1&nbsp; Lackey</h2>
45
46Lackey is a simple Valgrind skin that does some basic program measurement.
47It adds quite a lot of simple instrumentation to the program's code. It is
48primarily intended to be of use as an example skin.
49<p>
50It 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