Name
Stats
Synopsis
class Stats(filename
,*filenames
)
Instantiates Stats
with one or more filenames of
files of profile data written by function
profile.run
.
An instance s
of class
Stats
provides methods to add profile data and
sort and output results. Each method returns
s
, so you can chain several calls in the
same expression. s
’s main
methods are as follows.
Get Python in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.