@classmethod<EOL><INDENT>def dump(cls):<DEDENT>
with cls.lock:<EOL><INDENT>if not cls.instances: return<EOL>atexit.unregister(cls.dump)<EOL>cls._pre_dump()<EOL>for self in cls.instances.values():<EOL><INDENT>self._dump()<EOL><DEDENT>cls._post_dump()<EOL><DEDENT>
Output all recorded metrics