Reference Manual

The primary entry point for the profiler is the global function profile.run(). It is typically used to create any profile information. The reports are formatted and printed using methods of the class pstats.Stats. The following is a description of all of these standard entry points and functions. For a more in-depth view of some of the code, consider reading the later section on Profiler Extensions, which includes discussion of how to derive ``better'' profilers from the classes presented, or reading the source code for these modules.


\begin{funcdesc}{profile.run}{string\optional{\, filename\optional{\, ...}}}
\pa...
... values are the same, and only the single figure is
printed.
\par
\end{funcdesc}


\begin{funcdesc}{pstats.Stats}{filename\optional{\, ...}}
This class constructor...
...xisting \code{Stats} object, the
\code{add()} method can be used.
\end{funcdesc}



Subsections