towhee.runtime.performance_profiler.TimeProfiler

class towhee.runtime.performance_profiler.TimeProfiler[source]

Bases: object

TimeProfiler to record the event and timestamp.

Methods

disable

enable

record

reset

__init__()[source]