Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyfa-org/Pyfa
/ CpuClock
Method
CpuClock
utils/stopwatch.py:98–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
96
97
@staticmethod
98
def
CpuClock():
99
start = Stopwatch._tfunc()
100
time.sleep(1)
101
return
Stopwatch._tfunc() - start
102
103
def
reset(self):
104
# clear stat
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected