MCPcopy Create free account
hub / github.com/ActiveState/code / delta

Method delta

recipes/Python/577475_Power_Of_Two/recipe-577475.py:15–16  ·  view source on GitHub ↗
(start)

Source from the content-addressed store, hash-verified

13 # calculating delta between current time and start time.
14 @staticmethod
15 def delta(start):
16 return Timer.function() - start
17
18# background information: http://en.wikipedia.org/wiki/Power_of_two
19class PowerOfTwo:

Callers 1

mainFunction · 0.45

Calls 1

functionMethod · 0.45

Tested by

no test coverage detected