get_stats#

Profiler.get_stats() Dict[str, Dict[str, float]]#

Return a snapshot of the current statistics.

Returns:
Dict[str, Dict[str, float]]

Mapping from full category path to a dict with keys count, total, min, max. This is a copy and can be safely iterated without holding the lock.