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

Function time_since

diffportrait360_release/code/utils/time_utils.py:21–24  ·  view source on GitHub ↗
(last_time)

Source from the content-addressed store, hash-verified

19
20
21def time_since(last_time):
22 time_elapsed = time.time() - last_time
23 current_time = time.time()
24 return current_time, time_elapsed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected