Added a test main to the pstats library that can help you browse profile dumps.

This commit is contained in:
Eric S. Raymond 2001-04-13 00:23:01 +00:00
parent f4e5bd9df5
commit 4f3980d3cb
2 changed files with 131 additions and 0 deletions

View file

@ -220,6 +220,11 @@ p.print_callees()
p.add('fooprof')
\end{verbatim}
Invoked as a script, the \module{pstats} module is a statistics
browser for reading and examining profile dumps. It has a simple
line-oriented interface (implemented using \module{cmd}) and
interactive help.
\section{What Is Deterministic Profiling?}
\nodename{Deterministic Profiling}