MCPcopy Create free account
hub / github.com/EasyIME/PIME / getDurationTime

Method getDurationTime

python/cinbase/debug.py:48–50  ·  view source on GitHub ↗
(self, timerName)

Source from the content-addressed store, hash-verified

46 self.endTime[timerName] = time.time()
47
48 def getDurationTime(self, timerName):
49 durationTime = round(self.endTime[timerName] - self.startTime[timerName], 2)
50 return str(durationTime)
51
52 def saveDebugLog(self, debugLog):
53 filename = self.getConfigFile()

Callers 3

runMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 1

roundFunction · 0.85

Tested by

no test coverage detected