MCPcopy Create free account
hub / github.com/FreedomGu/Diffportrait360 / end

Method end

diffportrait360_release/code/utils/time_utils.py:13–18  ·  view source on GitHub ↗
(self, key="default")

Source from the content-addressed store, hash-verified

11 self.clock[key] = time.time()
12
13 def end(self, key="default"):
14 if key not in self.clock:
15 raise Exception("{} is not in the clock.".format(key))
16 interval = time.time() - self.clock[key]
17 del self.clock[key]
18 return interval
19
20
21def time_since(last_time):

Callers 1

drag_hidden_windowFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected