MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / get_time_timer

Method get_time_timer

tools/python-3.11.9-amd64/Lib/profile.py:175–176  ·  view source on GitHub ↗
(timer=timer, sum=sum)

Source from the content-addressed store, hash-verified

173 # the timer() result contains two values in all
174 # cases.
175 def get_time_timer(timer=timer, sum=sum):
176 return sum(timer())
177 self.get_time = get_time_timer
178 self.t = self.get_time()
179 self.simulate_call('profiler')

Callers

nothing calls this directly

Calls 2

timerFunction · 0.85
sumFunction · 0.50

Tested by

no test coverage detected