Module TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args defaults vararg kwarg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign AttributeStore NameLoad attr NameLoad Expr Call NameLoad NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Str AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list decorator_list Assign NameStore NameLoad
N/A N/A N/A N/A cProfile profile N/A N/A N/A ImportError N/A N/A profile _ProfileDecorator N/A object N/A N/A Decorator class that build a wrapper around any function.

    :warning: The decorator does not take recursive calls into account!
     __init__ N/A N/A self filelocation N/A N/A N/A Initializes the ProfileMe decorator.

        :param function func:    Function that will be profiles.
        :param string filelocation:    Location for the profiling results.
         N/A N/A N/A N/A super _ProfileDecorator self __init__ N/A N/A self _filelocation filelocation N/A __call__ N/A N/A self func N/A N/A N/A Returns a wrapped version of the called function.

        :param function func:    Function that should be wrapped.

        :return:    Returns a wrapped version of the called function.
        :rtype:     function
         wrapped_func N/A N/A N/A args kwargs N/A N/A This function gets executed, if the wrapped function gets called.

            It automatically created a performance profile for the corresponding function call.
             N/A profiler N/A N/A profile Profile N/A result N/A N/A profiler runcall func args kwargs N/A filename N/A %s N/A self _filelocation N/A N/A N/A profiler dump_stats filename N/A result N/A N/A N/A self _func func N/A N/A setattr wrapped_func __name__ N/A N/A self _func __name__ N/A N/A setattr wrapped_func __repr__ N/A N/A self _func __repr__ N/A N/A setattr wrapped_func __str__ N/A N/A self _func __str__ N/A N/A setattr wrapped_func __doc__ N/A N/A self _func __doc__ N/A wrapped_func N/A N/A N/A profileMe _ProfileDecorator