class documentation

class ReentrantStopWatch(Metric): (source)

View In Hierarchy

A watch that supports being called multiple times and recursively.

Method __enter__ Undocumented
Method __exit__ Undocumented
Method __init__ Initialize the metric and register it under the specified name.
Method _merge Merge data from another metric of the same type.
Method _summary Return a string summarizing the value of the metric.
Instance Variable _calls Undocumented
Instance Variable _start_time Undocumented
Instance Variable _time Undocumented

Inherited from Metric:

Method __str__ Undocumented
Property name Undocumented
Instance Variable _name Undocumented
def __enter__(self): (source)

Undocumented

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

Undocumented

def __init__(self, name): (source)

Initialize the metric and register it under the specified name.

def _merge(self, other): (source)

Merge data from another metric of the same type.

def _summary(self): (source)

Return a string summarizing the value of the metric.

Undocumented

_start_time = (source)

Undocumented

Undocumented