MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / __init__

Method __init__

utils/timer.py:5–9  ·  view source on GitHub ↗
(self, name='', logger=None)

Source from the content-addressed store, hash-verified

3
4class Timer:
5 def __init__(self, name='', logger=None):
6 self.name = name
7 self.start = time.time()
8 self.__last = self.start
9 self.logger = logger
10
11 @property
12 def elapsed(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected