Module Expr Str Import alias Import alias Import alias Import alias Assign NameStore ListLoad Str ClassDef bases body Expr Str FunctionDef arguments args NameParam defaults vararg body If UnaryOpNot Call NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num TryFinally body Expr Call AttributeLoad NameLoad attr Assign NameStore Num finalbody If NameLoad body Print Str If AttributeLoad NameLoad attr body Print SubscriptLoad AttributeLoad NameLoad attr Index Num Print decorator_list FunctionDef arguments args NameParam NameParam defaults body If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr Dict orelse If CompareEq Call NameLoad NameLoad Call NameLoad Str body Assign NameStore Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad handlers ExceptHandler body Pass Assign AttributeStore NameLoad attr ListLoad NameLoad orelse If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict If UnaryOpNot AttributeLoad NameLoad attr body Raise NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Return decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad AugAssignAdd AttributeStore NameLoad attr NameLoad If Call AttributeLoad NameLoad attr TupleLoad Str Num Str body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If CompareGt Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body If UnaryOpNot NameLoad body Return NameLoad If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Index Num If BoolOpOr CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Assign NameStore TupleLoad Num Num Num Num Dict Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str TryFinally body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str TupleLoad TupleLoad TupleLoad Num Num Str TupleLoad TupleLoad TupleLoad Num Num Str TupleLoad TupleLoad TupleLoad Num Num Str TupleLoad TupleLoad TupleLoad Num Num Str TupleLoad TupleLoad TupleLoad Num Num Str TupleLoad TupleLoad TupleLoad Num Num Str TupleLoad TupleLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Str TupleLoad TupleLoad TupleLoad Num Num Str TupleLoad TupleLoad TupleLoad Num Num Str TupleLoad TupleLoad TupleLoad Num Num Str FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameStore Dict Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad While NameLoad body If UnaryOpNot NameLoad body Break If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Num Break Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num For NameStore NameLoad body Delete SubscriptDel NameLoad Index NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults vararg body If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr Num Return NameLoad If BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareEq Call NameLoad SubscriptLoad NameLoad Index Num Call NameLoad Num body Assign NameStore ListLoad SubscriptLoad Dict Num Num Num Num Str Str Str Str Index SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore TupleLoad Assign AttributeStore NameLoad attr Str Assign NameStore Str For NameStore NameLoad body Assign NameStore BinOpAdd NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num AugAssignAdd AttributeStore NameLoad attr BinOpAdd NameLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Assign NameStore Str Assign NameStore ListLoad For TupleStore NameStore TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad TupleLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad Call NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameStore Dict Assign NameStore Num For TupleStore NameStore TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If CompareGt Call NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Return Assign AttributeStore NameLoad attr NameStore Dict For TupleStore NameStore TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If UnaryOpNot CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Return decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore NameLoad If CompareEq Call NameLoad NameLoad Call NameLoad Str body Assign NameStore ListLoad For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareEq Call NameLoad NameLoad Call NameLoad Num CompareLtELt Num NameLoad Num body Assign NameStore Call NameLoad BinOpAdd BinOpMult NameLoad NameLoad Num Assign NameStore SubscriptLoad NameLoad Slice NameLoad orelse If BoolOpAnd CompareEq Call NameLoad NameLoad Call NameLoad Num CompareLtELt Num NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Slice NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Assign NameStore BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str For NameStore NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If UnaryOpNot NameLoad body Return TupleLoad Num NameLoad Print NameLoad If CompareLt NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Num For NameStore NameLoad body If CompareGt Call NameLoad Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Return TupleLoad BinOpAdd NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body For NameStore AttributeLoad NameLoad attr body Print NameLoad If AttributeLoad NameLoad attr body Print Assign NameStore BinOpMult Str Num For NameStore AttributeLoad NameLoad attr body Print NameLoad Call NameLoad NameLoad Print NameLoad AttributeLoad NameLoad attr Str If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Print BinOpMod Str AttributeLoad NameLoad attr Print BinOpMod Str AttributeLoad NameLoad attr Print Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Print Print Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str For NameStore NameLoad body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Dict Print Print Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Print Print Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Print BinOpAdd Call AttributeLoad Str attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Print Call AttributeLoad Call NameLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Print Str Return Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd NameLoad Num Assign NameStore Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Print BinOpAdd BinOpAdd BinOpMult NameLoad NameLoad NameLoad BinOpMod Str TupleLoad SubscriptLoad NameLoad Index NameLoad Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Num Assign NameStore Str decorator_list FunctionDef arguments args NameParam defaults body Print Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotEq NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad Print Call AttributeLoad NameLoad attr Num Print Call NameLoad NameLoad If CompareEq NameLoad Num body Print BinOpMult Str Num orelse Print Call NameLoad BinOpDiv NameLoad NameLoad Print Call NameLoad NameLoad If CompareEq NameLoad Num body Print BinOpMult Str Num orelse Print Call NameLoad BinOpDiv NameLoad NameLoad Print Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareLt NameLoad NameLoad body Return UnaryOpUSub NameLoad If CompareGt NameLoad NameLoad body Return NameLoad Return Num decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameLoad Return TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Return TupleLoad BinOpAdd NameLoad NameLoad BinOpAdd NameLoad NameLoad BinOpAdd NameLoad NameLoad BinOpAdd NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad BinOpAdd NameLoad SubscriptLoad NameLoad Index NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num For NameStore Call AttributeLoad NameLoad attr body AugAssignAdd NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str NameLoad decorator_list If CompareEq NameLoad Str body Import alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Pass ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Str If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Continue handlers ExceptHandler type NameLoad body Pass TryExcept body Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareGt NameLoad Num CompareLt NameLoad Num body Print Str Continue Expr Call AttributeLoad NameLoad attr NameLoad Continue handlers ExceptHandler type NameLoad body Pass Expr Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Expr Call Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad orelse Print Str Return Num decorator_list FunctionDef arguments args NameParam defaults body Print Str Print Str Print Str Print Str Print Str Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Num decorator_list FunctionDef arguments args NameParam defaults body Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Print Str Return Num decorator_list FunctionDef arguments args NameParam defaults body Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Num decorator_list FunctionDef arguments args NameParam defaults body Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If NameLoad body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Print SubscriptLoad NameLoad Index Num Return Assign AttributeStore NameLoad attr BinOpAdd NameLoad Str orelse If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num orelse Print Str Return Num decorator_list FunctionDef arguments args NameParam defaults body Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Num decorator_list FunctionDef arguments args NameParam defaults body Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd NameLoad UnaryOpNot Call NameLoad Lambda arguments args NameParam NameParam defaults NameLoad CompareNotIn NameLoad NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr orelse Print Str For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Print BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index Num Return Num decorator_list FunctionDef arguments args NameParam defaults body Print Str Print Str decorator_list FunctionDef arguments args NameParam NameParam defaults vararg body Return ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Print Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Num decorator_list FunctionDef arguments args NameParam defaults body Print Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Return NameLoad Return NameLoad decorator_list decorator_list Import alias Print Str If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign NameStore NameLoad TryExcept body Expr Call AttributeLoad Call NameLoad NameLoad attr Print Str handlers ExceptHandler type NameLoad body Pass
N/A N/A Class for printing reports on profiled python code. N/A os N/A time N/A marshal N/A re N/A __all__ N/A Stats Stats N/A N/A N/A This class is used for creating reports from data generated by the
    Profile class.  It is a "friend" of that class, and imports data either
    by direct access to members of Profile class, or by reading in a dictionary
    that was emitted (via marshal) from the Profile class.

    The big change from the previous Profiler (in terms of raw functionality)
    is that an "add()" method has been provided to combine Stats from
    several distinct profile runs.  Both the constructor and the add()
    method now take arbitrarily many file names as arguments.

    All the print methods now take an argument that indicates how many lines
    to print.  If the arg is a floating point number between 0 and 1.0, then
    it is taken as a decimal percentage of the available lines to be printed
    (e.g., .1 means print 10% of all available lines).  If it is an integer,
    it is taken to mean the number of lines of data that you wish to have
    printed.

    The sort_stats() method now processes some additional options (i.e., in
    addition to the old -1, 0, 1, or 2).  It takes an arbitrary number of quoted
    strings to select the sort order.  For example sort_stats('time', 'name')
    sorts on the major key of "internal function time", and on the minor
    key of 'the name of the function'.  Look at the two tables in sort_stats()
    and get_sort_arg_defs(self) for more examples.

    All methods now return "self",  so you can string together commands like:
        Stats('foo', 'goo').strip_dirs().sort_stats('calls').                            print_stats(5).print_callers(5)
     __init__ N/A N/A self N/A args N/A N/A N/A N/A len args N/A N/A arg None N/A N/A arg N/A args N/A 0 N/A args N/A args N/A 1 N/A N/A N/A self init arg N/A N/A N/A self add args N/A init N/A N/A self arg N/A N/A N/A N/A self all_callees None N/A N/A self files N/A N/A N/A self fcn_list None N/A N/A self total_tt 0 N/A N/A self total_calls 0 N/A N/A self prim_calls 0 N/A N/A self max_name_len 0 N/A N/A self top_level N/A N/A N/A self stats N/A N/A N/A self sort_arg_dict N/A N/A N/A N/A self load_stats arg N/A trouble 1 N/A N/A N/A N/A N/A self get_top_level_stats N/A trouble 0 N/A N/A trouble N/A N/A Invalid timing data N/A N/A self files N/A N/A N/A N/A self files N/A -1 N/A N/A load_stats N/A N/A self arg N/A N/A N/A N/A arg N/A N/A N/A self stats N/A N/A N/A N/A N/A type arg N/A type N/A N/A f N/A open arg rb N/A N/A self stats N/A N/A marshal load f N/A N/A N/A f close N/A N/A N/A file_stats N/A N/A os stat arg N/A arg N/A N/A N/A N/A time ctime N/A file_stats st_mtime arg N/A N/A N/A N/A N/A N/A self files N/A arg N/A N/A N/A hasattr arg create_stats N/A N/A N/A N/A arg create_stats N/A N/A self stats N/A arg stats N/A N/A arg stats N/A N/A N/A N/A self stats N/A N/A TypeError N/A Cannot create or construct a %r object from '%r'' N/A N/A self __class__ arg N/A N/A get_top_level_stats N/A N/A self N/A N/A N/A N/A func N/A cc nc tt ct callers N/A N/A N/A self stats items N/A N/A N/A self total_calls nc N/A N/A self prim_calls cc N/A N/A self total_tt tt N/A N/A N/A callers has_key N/A jprofile 0 profiler N/A N/A N/A N/A self top_level N/A func None N/A N/A N/A len N/A func_std_string func N/A self max_name_len N/A N/A N/A self max_name_len N/A len N/A func_std_string func N/A add N/A N/A self N/A arg_list N/A N/A N/A arg_list N/A N/A self N/A N/A N/A len arg_list 1 N/A N/A N/A N/A self add N/A arg_list N/A 1 N/A other N/A arg_list N/A 0 N/A N/A N/A N/A type self N/A type other N/A N/A self __class__ N/A other __class__ N/A N/A other N/A Stats other N/A N/A self files N/A other files N/A N/A self total_calls N/A other total_calls N/A N/A self prim_calls N/A other prim_calls N/A N/A self total_tt N/A other total_tt N/A func N/A other top_level N/A N/A N/A N/A self top_level N/A func None N/A N/A N/A self max_name_len N/A other max_name_len N/A N/A N/A self max_name_len N/A other max_name_len N/A N/A self fcn_list None N/A N/A func stat N/A N/A N/A other stats iteritems N/A N/A N/A func N/A self stats N/A N/A old_func_stat N/A N/A self stats N/A func N/A N/A old_func_stat N/A 0 0 0 0 N/A N/A N/A N/A self stats N/A func N/A add_func_stats old_func_stat stat N/A self N/A dump_stats N/A N/A self filename N/A N/A N/A Write the profile data to a file we know how to load back. N/A f N/A file filename wb N/A N/A N/A N/A N/A marshal dump N/A self stats f N/A N/A N/A N/A f close N/A N/A sort_arg_dict_default N/A calls cumulative file line module name nfl pcalls stdname time N/A N/A N/A 1 -1 call count N/A N/A N/A 3 -1 cumulative time N/A N/A N/A 4 1 file name N/A N/A N/A 5 1 line number N/A N/A N/A 4 1 file name N/A N/A N/A 6 1 function name N/A N/A N/A 6 1 N/A 4 1 N/A 5 1 name/file/line N/A N/A N/A 0 -1 call count N/A N/A N/A 7 1 standard name N/A N/A N/A 2 -1 internal time get_sort_arg_defs N/A N/A self N/A N/A N/A Expand all abbreviations that are unique. N/A N/A N/A self sort_arg_dict N/A N/A N/A self sort_arg_dict dict N/A N/A bad_list N/A N/A N/A word tup N/A N/A N/A self sort_arg_dict_default iteritems N/A N/A fragment word N/A fragment N/A N/A N/A fragment N/A N/A N/A N/A fragment dict N/A N/A N/A bad_list N/A fragment 0 N/A N/A N/A dict N/A fragment tup N/A fragment N/A fragment N/A -1 N/A word bad_list N/A N/A N/A dict N/A word N/A N/A self sort_arg_dict N/A sort_stats N/A N/A self N/A field N/A N/A N/A field N/A N/A N/A self fcn_list 0 N/A self N/A N/A N/A N/A len field 1 N/A N/A type N/A field N/A 0 N/A type 1 N/A N/A field N/A N/A N/A -1 0 1 2 stdname calls time cumulative N/A N/A field N/A 0 N/A sort_arg_defs N/A N/A self get_sort_arg_defs N/A sort_tuple N/A N/A N/A self sort_type N/A connector N/A word field N/A N/A sort_tuple N/A sort_tuple N/A N/A sort_arg_defs N/A word N/A 0 N/A N/A self sort_type N/A connector N/A N/A sort_arg_defs N/A word N/A 1 N/A connector ,  N/A stats_list N/A N/A N/A func N/A cc nc tt ct callers N/A N/A N/A self stats iteritems N/A N/A N/A N/A stats_list append N/A N/A N/A cc nc tt ct func N/A N/A func_std_string func func N/A N/A N/A stats_list sort N/A N/A TupleComp sort_tuple compare N/A N/A self fcn_list fcn_list N/A N/A tuple stats_list N/A N/A N/A N/A fcn_list append N/A tuple N/A -1 N/A self N/A reverse_order N/A N/A self N/A N/A N/A N/A self fcn_list N/A N/A N/A N/A N/A self fcn_list reverse N/A self N/A strip_dirs N/A N/A self N/A N/A N/A oldstats N/A self stats N/A N/A self stats newstats N/A N/A max_name_len 0 N/A N/A func N/A cc nc tt ct callers N/A N/A oldstats iteritems N/A N/A newfunc N/A func_strip_path func N/A N/A N/A len N/A func_std_string newfunc max_name_len N/A N/A max_name_len N/A len N/A func_std_string newfunc N/A newcallers N/A N/A N/A func2 caller N/A N/A callers iteritems N/A N/A N/A newcallers N/A N/A func_strip_path func2 caller N/A N/A newfunc newstats N/A N/A N/A newstats N/A newfunc N/A add_func_stats N/A newstats N/A newfunc N/A cc nc tt ct newcallers N/A N/A N/A newstats N/A newfunc N/A cc nc tt ct newcallers N/A old_top N/A self top_level N/A N/A self top_level new_top N/A N/A func old_top N/A N/A N/A new_top N/A N/A func_strip_path func None N/A N/A self max_name_len max_name_len N/A N/A self fcn_list None N/A N/A self all_callees None N/A self N/A calc_callees N/A N/A self N/A N/A N/A N/A self all_callees N/A N/A N/A N/A self all_callees all_callees N/A N/A N/A func N/A cc nc tt ct callers N/A N/A N/A self stats iteritems N/A N/A N/A N/A func all_callees N/A N/A N/A all_callees N/A func N/A N/A N/A func2 caller N/A N/A callers iteritems N/A N/A N/A N/A func2 all_callees N/A N/A N/A all_callees N/A func2 N/A N/A N/A N/A all_callees N/A func2 N/A func caller N/A N/A eval_print_amount N/A N/A self sel list msg N/A N/A N/A new_list list N/A N/A N/A type sel N/A type N/A N/A new_list N/A N/A func list N/A N/A N/A N/A re search sel N/A func_std_string func N/A N/A N/A N/A new_list append func N/A N/A count N/A len list N/A N/A N/A N/A type sel N/A type 1.0 N/A 0.0 sel 1.0 N/A N/A count N/A int N/A N/A count sel 0.5 N/A new_list N/A list N/A count N/A N/A N/A N/A N/A type sel N/A type 1 N/A 0 sel count N/A N/A count sel N/A new_list N/A list N/A count N/A N/A N/A len list N/A len new_list N/A N/A msg N/A msg N/A    List reduced from %r to %r due to restriction <%r>
 N/A N/A len list N/A len new_list sel N/A N/A new_list msg N/A get_print_list N/A N/A self sel_list N/A N/A N/A width N/A self max_name_len N/A N/A self fcn_list N/A N/A list N/A N/A self fcn_list N/A N/A msg N/A N/A    Ordered by:  N/A self sort_type N/A N/A list N/A N/A N/A self stats keys N/A msg    Random listing order was used
 N/A selection sel_list N/A N/A N/A list msg N/A N/A self eval_print_amount selection list msg N/A count N/A len list N/A N/A list N/A N/A N/A 0 list N/A msg N/A N/A count N/A len N/A self stats N/A N/A width 0 N/A func list N/A N/A N/A N/A len N/A func_std_string func width N/A N/A width N/A len N/A func_std_string func N/A N/A N/A width 2 list N/A print_stats N/A N/A self N/A amount N/A N/A filename N/A self files N/A N/A filename N/A N/A self files N/A N/A N/A indent N/A 8 N/A func N/A self top_level N/A N/A indent N/A func_get_function_name func N/A indent N/A self total_calls function calls N/A N/A N/A self total_calls N/A self prim_calls N/A N/A N/A (%d primitive calls) N/A self prim_calls N/A N/A in %.3f CPU seconds N/A self total_tt N/A N/A N/A width list N/A N/A self get_print_list amount N/A list N/A N/A N/A N/A self print_title N/A func list N/A N/A N/A N/A self print_line func N/A N/A N/A self N/A print_callees N/A N/A self N/A amount N/A N/A N/A width list N/A N/A self get_print_list amount N/A list N/A N/A N/A N/A self calc_callees N/A N/A N/A self print_call_heading width called... N/A func list N/A N/A N/A func N/A self all_callees N/A N/A N/A N/A self print_call_line width func N/A N/A self all_callees N/A func N/A N/A N/A N/A self print_call_line width func N/A N/A N/A N/A self N/A print_callers N/A N/A self N/A amount N/A N/A N/A width list N/A N/A self get_print_list amount N/A list N/A N/A N/A N/A self print_call_heading width was called by... N/A func list N/A N/A N/A cc nc tt ct callers N/A N/A self stats N/A func N/A N/A N/A self print_call_line width func callers N/A N/A N/A self N/A print_call_heading N/A N/A self name_size column_title N/A N/A N/A N/A N/A N/A Function  ljust name_size column_title N/A print_call_line N/A N/A self name_size source call_dict N/A N/A N/A N/A N/A N/A func_std_string source ljust name_size N/A N/A call_dict N/A N/A -- N/A N/A clist N/A N/A call_dict keys N/A N/A N/A clist sort N/A name_size N/A name_size 1 N/A indent N/A func clist N/A N/A name N/A func_std_string func N/A N/A N/A N/A indent name_size name N/A (%r) N/A N/A call_dict N/A func N/A f8 N/A N/A N/A self stats N/A func N/A 3 N/A indent N/A print_title N/A N/A self N/A N/A N/A    ncalls  tottime  percall  cumtime  percall filename:lineno(function) N/A print_line N/A N/A self func N/A N/A N/A N/A cc nc tt ct callers N/A N/A self stats N/A func N/A c N/A str nc N/A N/A nc cc N/A N/A c N/A N/A c / N/A str cc N/A N/A N/A c rjust 9 N/A N/A f8 tt N/A N/A nc 0 N/A N/A N/A 8 N/A N/A N/A f8 N/A tt nc N/A N/A f8 ct N/A N/A cc 0 N/A N/A N/A 8 N/A N/A N/A f8 N/A ct cc N/A N/A func_std_string func N/A ignore N/A N/A self N/A N/A N/A N/A N/A TupleComp N/A N/A N/A This class provides a generic function for comparing any two tuples.
    Each instance records a list of tuple-indices (from most significant
    to least significant), and sort direction (ascending or decending) for
    each tuple-index.  The compare functions can then be used as the function
    argument to the system sort() function when a list of tuples need to be
    sorted in the instances order. __init__ N/A N/A self comp_select_list N/A N/A N/A N/A self comp_select_list comp_select_list N/A compare N/A N/A self left right N/A N/A N/A N/A index direction N/A self comp_select_list N/A N/A l N/A left N/A index N/A r N/A right N/A index N/A N/A l r N/A N/A N/A direction N/A N/A l r N/A N/A direction N/A 0 N/A N/A func_strip_path N/A N/A func_name N/A N/A N/A N/A filename line name func_name N/A N/A N/A N/A N/A os path basename filename line name N/A func_get_function_name N/A N/A func N/A N/A N/A N/A func N/A 2 N/A func_std_string N/A N/A func_name N/A N/A N/A N/A %s:%d(%s) func_name N/A add_func_stats N/A N/A target source N/A N/A N/A Add together all the stats for two profile entries. N/A N/A cc nc tt ct callers source N/A N/A t_cc t_nc t_tt t_ct t_callers target N/A N/A N/A cc t_cc N/A nc t_nc N/A tt t_tt N/A ct t_ct N/A add_callers t_callers callers N/A add_callers N/A N/A target source N/A N/A N/A Combine two caller lists in a single list. N/A new_callers N/A N/A N/A func caller N/A N/A target iteritems N/A N/A N/A new_callers N/A func caller N/A N/A func caller N/A N/A source iteritems N/A N/A N/A func new_callers N/A N/A N/A new_callers N/A func N/A caller N/A new_callers N/A func N/A N/A N/A new_callers N/A func caller N/A new_callers N/A count_calls N/A N/A callers N/A N/A N/A Sum the caller statistics to get total number of calls received. N/A nc 0 N/A calls N/A N/A callers itervalues N/A N/A nc calls N/A nc N/A f8 N/A N/A x N/A N/A N/A N/A %8.3f x N/A N/A N/A __name__ __main__ N/A N/A cmd N/A N/A N/A readline N/A N/A N/A ImportError N/A N/A ProfileBrowser N/A N/A cmd Cmd N/A __init__ N/A N/A self profile N/A None N/A N/A N/A N/A N/A cmd Cmd __init__ self N/A N/A self prompt %  N/A N/A profile None N/A N/A N/A self stats N/A Stats profile N/A N/A N/A self stats None N/A generic N/A N/A self fn line N/A N/A N/A args N/A N/A line split N/A processed N/A N/A term args N/A N/A N/A N/A N/A N/A processed append N/A int term N/A N/A N/A N/A ValueError N/A N/A N/A N/A N/A frac N/A float term N/A N/A N/A frac 1 N/A frac 0 N/A N/A Fraction argument mus be in [0, 1] N/A N/A N/A N/A processed append frac N/A N/A N/A N/A ValueError N/A N/A N/A N/A N/A processed append term N/A N/A self stats N/A N/A N/A N/A getattr N/A self stats fn processed N/A N/A No statistics object is loaded. N/A 0 N/A generic_help N/A N/A self N/A N/A N/A Arguments may be: N/A * An integer maximum number of entries to print. N/A * A decimal fractional number between 0 and 1, controlling N/A   what fraction of selected entries to print. N/A * A regular expression; only entries with function names N/A   that match it are printed. N/A do_add N/A N/A self line N/A N/A N/A N/A N/A N/A self stats add line N/A 0 N/A help_add N/A N/A self N/A N/A N/A Add profile info from given file to current statistics object. N/A do_callees N/A N/A self line N/A N/A N/A N/A N/A self generic print_callees line N/A help_callees N/A N/A self N/A N/A N/A Print callees statistics from the current stat object. N/A N/A N/A self generic_help N/A do_callers N/A N/A self line N/A N/A N/A N/A N/A self generic print_callers line N/A help_callers N/A N/A self N/A N/A N/A Print callers statistics from the current stat object. N/A N/A N/A self generic_help N/A do_EOF N/A N/A self line N/A N/A N/A N/A 1 N/A help_EOF N/A N/A self N/A N/A N/A Leave the profile brower. N/A do_quit N/A N/A self line N/A N/A N/A 1 N/A help_quit N/A N/A self N/A N/A N/A Leave the profile brower. N/A do_read N/A N/A self line N/A N/A N/A line N/A N/A N/A N/A N/A self stats N/A Stats line N/A N/A N/A IOError N/A args N/A N/A N/A args N/A 1 N/A N/A N/A self prompt N/A line %  N/A N/A N/A N/A len N/A self prompt 2 N/A N/A line N/A N/A self prompt N/A -2 N/A N/A No statistics object is current -- cannot reload. N/A 0 N/A help_read N/A N/A self N/A N/A N/A Read in profile data from a specified file. N/A do_reverse N/A N/A self line N/A N/A N/A N/A N/A N/A self stats reverse_order N/A 0 N/A help_reverse N/A N/A self N/A N/A N/A Reverse the sort order of the profiling report. N/A do_sort N/A N/A self line N/A N/A N/A abbrevs N/A N/A N/A self stats get_sort_arg_defs N/A N/A line N/A N/A filter N/A N/A N/A x a N/A abbrevs N/A x a N/A N/A line split N/A N/A N/A N/A N/A self stats sort_stats N/A N/A line split N/A N/A Valid sort keys (unique prefixes are accepted): N/A N/A key value N/A N/A N/A Stats sort_arg_dict_default iteritems N/A N/A N/A %s -- %s N/A key N/A value N/A 1 N/A 0 N/A help_sort N/A N/A self N/A N/A N/A Sort profile data according to specified keys. N/A (Typing `sort' without arguments lists valid keys.) N/A complete_sort N/A N/A self text N/A args N/A N/A N/A a N/A a N/A Stats sort_arg_dict_default N/A N/A a startswith text N/A do_stats N/A N/A self line N/A N/A N/A N/A N/A self generic print_stats line N/A help_stats N/A N/A self N/A N/A N/A Print statistics from the current stat object. N/A N/A N/A self generic_help N/A do_strip N/A N/A self line N/A N/A N/A N/A N/A N/A self stats strip_dirs N/A 0 N/A help_strip N/A N/A self N/A N/A N/A Strip leading path information from filenames in the report. N/A postcmd N/A N/A self stop line N/A N/A N/A stop N/A N/A stop N/A None N/A N/A N/A sys N/A Welcome to the profile statistics browser. N/A N/A N/A len N/A sys argv 1 N/A N/A initprofile N/A N/A sys argv N/A 1 N/A N/A initprofile None N/A N/A N/A N/A N/A N/A ProfileBrowser initprofile cmdloop N/A Goodbye. N/A N/A N/A KeyboardInterrupt N/A N/A