mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-07 04:38:00 +00:00
the places that normal users will see:
- command line: --tool=foo (although --skin=foo still works)
- docs: removed all traces (included renaming coregrind_skins.html to
coregrind_tools.html)
- in the usage messages
- in error messages
Also did in in some places that I judged were unlikely to cause clashes with
existing workspaces:
- in the header comments of many files (eg. "This file is part of Memcheck, a
Valgrind tool for...")
- in the regtests script
- in the .supp files
- in AUTHORS
- in README_MISSING_SYSCALL_OR_IOCTL
Also update the AUTHORS file to mention Jeremy.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2027
69 lines
2.0 KiB
HTML
69 lines
2.0 KiB
HTML
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
body { background-color: #ffffff;
|
|
color: #000000;
|
|
font-family: Times, Helvetica, Arial;
|
|
font-size: 14pt}
|
|
h4 { margin-bottom: 0.3em}
|
|
code { color: #000000;
|
|
font-family: Courier;
|
|
font-size: 13pt }
|
|
pre { color: #000000;
|
|
font-family: Courier;
|
|
font-size: 13pt }
|
|
a:link { color: #0000C0;
|
|
text-decoration: none; }
|
|
a:visited { color: #0000C0;
|
|
text-decoration: none; }
|
|
a:active { color: #0000C0;
|
|
text-decoration: none; }
|
|
</style>
|
|
<title>Cachegrind</title>
|
|
</head>
|
|
|
|
<body bgcolor="#ffffff">
|
|
|
|
<a name="title"></a>
|
|
<h1 align=center>Lackey</h1>
|
|
<center>This manual was last updated on 2002-10-03</center>
|
|
<p>
|
|
|
|
<center>
|
|
<a href="mailto:njn25@cam.ac.uk">njn25@cam.ac.uk</a><br>
|
|
Copyright © 2000-2003 Nicholas Nethercote
|
|
<p>
|
|
Lackey is licensed under the GNU General Public License,
|
|
version 2<br>
|
|
Lackey is an example Valgrind tool that does some very basic program
|
|
measurement.
|
|
</center>
|
|
|
|
<p>
|
|
|
|
<h2>1 Lackey</h2>
|
|
|
|
Lackey is a simple Valgrind tool that does some basic program measurement.
|
|
It adds quite a lot of simple instrumentation to the program's code. It is
|
|
primarily intended to be of use as an example tool.
|
|
<p>
|
|
It measures three things:
|
|
|
|
<ol>
|
|
<li>The number of calls to <code>_dl_runtime_resolve()</code>, the function
|
|
in glibc's dynamic linker that resolves function lookups into shared
|
|
objects.<p>
|
|
|
|
<li>The number of UCode instructions (UCode is Valgrind's RISC-like
|
|
intermediate language), x86 instructions, and basic blocks executed by the
|
|
program, and some ratios between the three counts.<p>
|
|
|
|
<li>The number of conditional branches encountered and the proportion of those
|
|
taken.<p>
|
|
</ol>
|
|
|
|
<hr width="100%">
|
|
</body>
|
|
</html>
|
|
|