Module Expr Str Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore TupleLoad TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr TupleLoad Str AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareGt Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore SetComp NameLoad comprehension TupleStore NameStore NameStore NameLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Assign NameStore Call NameLoad Assign NameStore GeneratorExp TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad CompareIn NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad NameLoad If NameLoad body Print BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults TupleLoad Dict Str Num body Expr Str Assign NameStore Call NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list
N/A N/A Module that contains vprof runtime logic. N/A json collections OrderedDict six.moves urllib vprof code_heatmap vprof memory_profile vprof runtime_profile N/A _PROFILERS N/A N/A c N/A runtime_profile RuntimeProfile N/A m N/A memory_profile MemoryProfile N/A h N/A code_heatmap CodeHeatmapProfile Error N/A Exception N/A N/A Base exception for current module. N/A N/A AmbiguousConfigurationError N/A Error N/A N/A Raised when profiler configuration is ambiguous. N/A N/A BadOptionError N/A Error N/A N/A Raised when unknown options is present in configuration. N/A N/A run_profilers N/A N/A run_object prof_config verbose N/A False N/A N/A Runs profilers against run_object.

    Args:
        run_object: An object (string or tuple) to run profilers agaist.
        prof_config: A string with profilers configuration.
        verbose: True if info about running profilers should be shown.
    Returns:
        An ordered dictionary with collected stats.
    Raises:
        AmbiguousConfigurationError: when prof_config is ambiguous.
        BadOptionError: when unknown option is present in configuration.
     N/A N/A N/A len prof_config N/A len N/A set prof_config N/A N/A N/A AmbiguousConfigurationError N/A Profiler configuration %s is ambiguous prof_config N/A available_profilers N/A opt N/A N/A opt _ _PROFILERS N/A option prof_config N/A N/A N/A option available_profilers N/A N/A N/A BadOptionError N/A Unknown option: %s option N/A run_stats N/A OrderedDict N/A present_profilers N/A N/A o p N/A N/A o p _PROFILERS N/A o prof_config N/A N/A option profiler present_profilers N/A N/A curr_profiler N/A profiler run_object N/A verbose N/A N/A N/A Running %s... N/A N/A curr_profiler __class__ __name__ N/A N/A run_stats N/A option N/A N/A curr_profiler run N/A run_stats N/A run N/A N/A func options args kwargs host port N/A N/A N/A localhost 8000 N/A N/A Runs profilers specified by options against func.
    Args:
        func: Python function object.
        options: A string with profilers configuration (i.e. 'cmh').
        args: Arguments to pass to func.
        kwargs: Keyword arguments to pass to func.
        host: Host to send profilers data.
        port: Port to send profilers.data.
     N/A run_stats N/A run_profilers N/A func args kwargs options N/A N/A N/A N/A urllib request urlopen N/A http://%s:%s N/A host port N/A N/A json dumps run_stats N/A