class documentation

class _ProfileContext: (source)

View In Hierarchy

A context manager for optionally profiling code.

Method __enter__ Undocumented
Method __exit__ Undocumented
Method __init__ Initialize.
Instance Variable _output_path Undocumented
Instance Variable _profile Undocumented
def __enter__(self): (source)

Undocumented

def __exit__(self, exc_type, exc_value, traceback): (source)

Undocumented

def __init__(self, output_path): (source)

Initialize. Args: output_path: A pathname for the profiler output. An empty string indicates that no profiling should be done.

_output_path = (source)

Undocumented

_profile = (source)

Undocumented