class documentation

class GcLogger: (source)

View In Hierarchy

Context manager to log GC stats and overall time.

Method __enter__ Undocumented
Method __exit__ Undocumented
Method gc_callback Undocumented
Method get_stats Undocumented
Instance Variable gc_calls Undocumented
Instance Variable gc_collected Undocumented
Instance Variable gc_start_time Undocumented
Instance Variable gc_time Undocumented
Instance Variable gc_uncollectable Undocumented
Instance Variable start_time Undocumented
def __enter__(self) -> GcLogger: (source)

Undocumented

def __exit__(self, *args: object): (source)

Undocumented

def gc_callback(self, phase: str, info: Mapping[str, int]): (source)

Undocumented

def get_stats(self) -> Mapping[str, float]: (source)

Undocumented

gc_calls: int = (source)

Undocumented

gc_collected: int = (source)

Undocumented

gc_start_time = (source)

Undocumented

Undocumented

gc_uncollectable: int = (source)

Undocumented

start_time = (source)

Undocumented