We've Moved!
Google Perf Tools is now hosted at
code.google.com.
Our new homepage is located at
http://code.google.com/p/google-perftools.
Overview
Perf Tools is a collection of a high-performance multi-threaded
malloc() implementation, plus some pretty nifty performance analysis
tools.
Perf Tools is distributed under the terms of the
BSD License.
For downloads, news, and other information, visit our
Project Page
Example
Note: this is by no means complete documentation, but simply
gives you an idea of what the API is like.
No recompilation is necessary to use these tools.
TC Malloc:
gcc [...] -ltcmalloc
Heap Checker:
gcc [...] -o myprogram -ltcmalloc
HEAPCHECK=normal ./myprogram
Heap Profiler:
gcc [...] -o myprogram -ltcmalloc
HEAPPROFILE=/tmp/netheap ./myprogram
Cpu Profiler:
gcc [...] -o myprogram -lprofiler
CPUPROFILE=/tmp/profile ./myprogram
Sample Output
The heap profiler can pop up a window that displays information as
a directed graph:
The cpu profiler can produce a weighted call graph:
Documentation
Perftools
documentation
Download
For downloads, visit our
Project Page
Google Groups
Links to Other Sites
Brett Viren's
Perftools
project at the Brookhaven National Laboratory
-- a similar project with the same name as Google's.
[docs],
[download]
|