Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreedomGu/Diffportrait360
/ start
Method
start
diffportrait360_release/code/utils/time_utils.py:10–11 ·
view source on GitHub ↗
(self, key="default")
Source
from the content-addressed store, hash-verified
8
self.clock = {}
9
10
def
start(self, key=
"default"
):
11
self.clock[key] = time.time()
12
13
def
end(self, key=
"default"
):
14
if
key not in self.clock:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected