MCPcopy Create free account
hub / github.com/PowerHouseMan/ComfyUI-AdvancedLivePortrait / __init__

Method __init__

LivePortrait/utils/timer.py:12–16  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10 """A simple timer."""
11
12 def __init__(self):
13 self.total_time = 0.
14 self.calls = 0
15 self.start_time = 0.
16 self.diff = 0.
17
18 def tic(self):
19 # using time.time instead of time.clock because time time.clock

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected